Interface TagFilter.Builder

    • Method Detail

      • andConditions

        TagFilter.Builder andConditions​(Collection<TagCondition> andConditions)

        A list of conditions which would be applied together with an AND condition.

        Parameters:
        andConditions - A list of conditions which would be applied together with an AND condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • andConditions

        TagFilter.Builder andConditions​(TagCondition... andConditions)

        A list of conditions which would be applied together with an AND condition.

        Parameters:
        andConditions - A list of conditions which would be applied together with an AND condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • andConditions

        TagFilter.Builder andConditions​(Consumer<TagCondition.Builder>... andConditions)

        A list of conditions which would be applied together with an AND condition.

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

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

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

        TagFilter.Builder orConditions​(Collection<OrCondition> orConditions)

        A list of conditions which would be applied together with an OR condition.

        Parameters:
        orConditions - A list of conditions which would be applied together with an OR condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orConditions

        TagFilter.Builder orConditions​(OrCondition... orConditions)

        A list of conditions which would be applied together with an OR condition.

        Parameters:
        orConditions - A list of conditions which would be applied together with an OR condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orConditions

        TagFilter.Builder orConditions​(Consumer<OrCondition.Builder>... orConditions)

        A list of conditions which would be applied together with an OR condition.

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

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

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

        TagFilter.Builder tagCondition​(TagCondition tagCondition)

        A leaf node condition which can be used to specify a tag condition.

        Parameters:
        tagCondition - A leaf node condition which can be used to specify a tag condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.