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
Modifier and TypeMethodDescriptionandConditions(Collection<TagCondition> andConditions) A list of conditions which would be applied together with anANDcondition.andConditions(Consumer<TagCondition.Builder>... andConditions) A list of conditions which would be applied together with anANDcondition.andConditions(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.tagCondition(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 toandConditions(List<TagCondition>).- 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:
-
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
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:
-