Interface AttributeAndCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttributeAndCondition.Builder,
,AttributeAndCondition> SdkBuilder<AttributeAndCondition.Builder,
,AttributeAndCondition> SdkPojo
- Enclosing class:
AttributeAndCondition
@Mutable
@NotThreadSafe
public static interface AttributeAndCondition.Builder
extends SdkPojo, CopyableBuilder<AttributeAndCondition.Builder,AttributeAndCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttributeAndCondition.Builder
hierarchyGroupCondition
(Consumer<HierarchyGroupCondition.Builder> hierarchyGroupCondition) Sets the value of the HierarchyGroupCondition property for this object.hierarchyGroupCondition
(HierarchyGroupCondition hierarchyGroupCondition) Sets the value of the HierarchyGroupCondition property for this object.tagConditions
(Collection<TagCondition> tagConditions) A leaf node condition which can be used to specify a tag condition.tagConditions
(Consumer<TagCondition.Builder>... tagConditions) A leaf node condition which can be used to specify a tag condition.tagConditions
(TagCondition... tagConditions) 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, sdkFieldNameToField, sdkFields
-
Method Details
-
tagConditions
A leaf node condition which can be used to specify a tag condition.
- Parameters:
tagConditions
- 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.
-
tagConditions
A leaf node condition which can be used to specify a tag condition.
- Parameters:
tagConditions
- 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.
-
tagConditions
A leaf node condition which can be used to specify a tag condition.
This is a convenience method that creates an instance of theTagCondition.Builder
avoiding the need to create one manually viaTagCondition.builder()
.When the
Consumer
completes,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:
-
hierarchyGroupCondition
AttributeAndCondition.Builder hierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition) Sets the value of the HierarchyGroupCondition property for this object.- Parameters:
hierarchyGroupCondition
- The new value for the HierarchyGroupCondition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyGroupCondition
default AttributeAndCondition.Builder hierarchyGroupCondition(Consumer<HierarchyGroupCondition.Builder> hierarchyGroupCondition) Sets the value of the HierarchyGroupCondition property for this object. This is a convenience method that creates an instance of theHierarchyGroupCondition.Builder
avoiding the need to create one manually viaHierarchyGroupCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohierarchyGroupCondition(HierarchyGroupCondition)
.- Parameters:
hierarchyGroupCondition
- a consumer that will call methods onHierarchyGroupCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-