Interface RuleAttributeAndCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleAttributeAndCondition.Builder,,RuleAttributeAndCondition> SdkBuilder<RuleAttributeAndCondition.Builder,,RuleAttributeAndCondition> SdkPojo
- Enclosing class:
RuleAttributeAndCondition
@Mutable
@NotThreadSafe
public static interface RuleAttributeAndCondition.Builder
extends SdkPojo, CopyableBuilder<RuleAttributeAndCondition.Builder,RuleAttributeAndCondition>
-
Method Summary
Modifier and TypeMethodDescriptiontagConditions(Collection<TagCondition> tagConditions) A list of tag conditions that need to be applied withANDcondition.tagConditions(Consumer<TagCondition.Builder>... tagConditions) A list of tag conditions that need to be applied withANDcondition.tagConditions(TagCondition... tagConditions) A list of tag conditions that need to be applied withANDcondition.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, sdkFieldNameToField, sdkFields
-
Method Details
-
tagConditions
A list of tag conditions that need to be applied with
ANDcondition.- Parameters:
tagConditions- A list of tag conditions that need to be applied withANDcondition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagConditions
A list of tag conditions that need to be applied with
ANDcondition.- Parameters:
tagConditions- A list of tag conditions that need to be applied withANDcondition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagConditions
A list of tag conditions that need to be applied with
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 totagConditions(List<TagCondition>).- Parameters:
tagConditions- 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:
-