Interface OrCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrCondition.Builder,
,OrCondition> SdkBuilder<OrCondition.Builder,
,OrCondition> SdkPojo
- Enclosing class:
OrCondition
@Mutable
@NotThreadSafe
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 anAND
condition.andConditions
(Consumer<TagCondition.Builder>... andConditions) A list of conditions which would be applied together with anAND
condition.andConditions
(TagCondition... andConditions) A list of conditions which would be applied together with anAND
condition.default OrCondition.Builder
tagCondition
(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
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
-
andConditions
A list of conditions which would be applied together with an
AND
condition.- Parameters:
andConditions
- A list of conditions which would be applied together with anAND
condition.- 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
AND
condition.- Parameters:
andConditions
- A list of conditions which would be applied together with anAND
condition.- 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 theAND
condition.TagCondition.Builder
avoiding the need to create one manually viaTagCondition.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTagCondition.builder()
.When the
Consumer
completes,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:
-