Interface DatabaseLFTagPolicy.Builder

    • Method Detail

      • expression

        DatabaseLFTagPolicy.Builder expression​(Collection<LFTag> expression)

        A list of LF-tag conditions that apply to database resources.

        Parameters:
        expression - A list of LF-tag conditions that apply to database resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expression

        DatabaseLFTagPolicy.Builder expression​(LFTag... expression)

        A list of LF-tag conditions that apply to database resources.

        Parameters:
        expression - A list of LF-tag conditions that apply to database resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expression

        DatabaseLFTagPolicy.Builder expression​(Consumer<LFTag.Builder>... expression)

        A list of LF-tag conditions that apply to database resources.

        This is a convenience method that creates an instance of the LFTag.Builder avoiding the need to create one manually via LFTag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #expression(List).

        Parameters:
        expression - a consumer that will call methods on LFTag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #expression(java.util.Collection)