Interface TagFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TagFilter.Builder,TagFilter>,SdkBuilder<TagFilter.Builder,TagFilter>,SdkPojo
- Enclosing class:
- TagFilter
public static interface TagFilter.Builder extends SdkPojo, CopyableBuilder<TagFilter.Builder,TagFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TagFilter.BuilderandConditions(Collection<TagCondition> andConditions)A list of conditions which would be applied together with anANDcondition.TagFilter.BuilderandConditions(Consumer<TagCondition.Builder>... andConditions)A list of conditions which would be applied together with anANDcondition.TagFilter.BuilderandConditions(TagCondition... andConditions)A list of conditions which would be applied together with anANDcondition.TagFilter.BuilderorConditions(Collection<OrCondition> orConditions)A list of conditions which would be applied together with anORcondition.TagFilter.BuilderorConditions(Consumer<OrCondition.Builder>... orConditions)A list of conditions which would be applied together with anORcondition.TagFilter.BuilderorConditions(OrCondition... orConditions)A list of conditions which would be applied together with anORcondition.default TagFilter.BuildertagCondition(Consumer<TagCondition.Builder> tagCondition)A leaf node condition which can be used to specify a tag condition.TagFilter.BuildertagCondition(TagCondition tagCondition)A leaf node condition which can be used to specify a tag condition.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
andConditions
TagFilter.Builder andConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
ANDcondition.- Parameters:
andConditions- A list of conditions which would be applied together with anANDcondition.- 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
ANDcondition.- Parameters:
andConditions- A list of conditions which would be applied together with anANDcondition.- 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
This is a convenience method that creates an instance of theANDcondition.TagCondition.Builderavoiding the need to create one manually viaTagCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#andConditions(List.) - Parameters:
andConditions- a consumer that will call methods onTagCondition.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
ORcondition.- Parameters:
orConditions- A list of conditions which would be applied together with anORcondition.- 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
ORcondition.- Parameters:
orConditions- A list of conditions which would be applied together with anORcondition.- 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
This is a convenience method that creates an instance of theORcondition.OrCondition.Builderavoiding the need to create one manually viaOrCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#orConditions(List.) - Parameters:
orConditions- a consumer that will call methods onOrCondition.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.
-
tagCondition
default TagFilter.Builder tagCondition(Consumer<TagCondition.Builder> tagCondition)
A leaf node condition which can be used to specify a tag condition.
This is a convenience method that creates an instance of theTagCondition.Builderavoiding the need to create one manually viaTagCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagCondition(TagCondition).- Parameters:
tagCondition- a consumer that will call methods onTagCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tagCondition(TagCondition)
-
-