Interface OrCondition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OrCondition.Builder,OrCondition>,SdkBuilder<OrCondition.Builder,OrCondition>,SdkPojo
- Enclosing class:
- OrCondition
public static interface OrCondition.Builder extends SdkPojo, CopyableBuilder<OrCondition.Builder,OrCondition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OrCondition.BuilderandConditions(Collection<TagCondition> andConditions)A list of conditions which would be applied together with anANDcondition.OrCondition.BuilderandConditions(Consumer<TagCondition.Builder>... andConditions)A list of conditions which would be applied together with anANDcondition.OrCondition.BuilderandConditions(TagCondition... andConditions)A list of conditions which would be applied together with anANDcondition.default OrCondition.BuildertagCondition(Consumer<TagCondition.Builder> tagCondition)A leaf node condition which can be used to specify a tag condition.OrCondition.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
OrCondition.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
OrCondition.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
OrCondition.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)
-
tagCondition
OrCondition.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 OrCondition.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)
-
-