Interface Condition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Condition.Builder,
,Condition> SdkBuilder<Condition.Builder,
,Condition> SdkPojo
- Enclosing class:
Condition
public static interface Condition.Builder
extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
-
Method Summary
Modifier and TypeMethodDescriptionconditions
(Collection<SimpleCondition> conditions) The conditions to evaluate for the activity.conditions
(Consumer<SimpleCondition.Builder>... conditions) The conditions to evaluate for the activity.conditions
(SimpleCondition... conditions) The conditions to evaluate for the activity.Specifies how to handle multiple conditions for the activity.Specifies how to handle multiple conditions for the activity.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 Details
-
conditions
The conditions to evaluate for the activity.
- Parameters:
conditions
- The conditions to evaluate for the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions to evaluate for the activity.
- Parameters:
conditions
- The conditions to evaluate for the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions to evaluate for the activity.
This is a convenience method that creates an instance of theSimpleCondition.Builder
avoiding the need to create one manually viaSimpleCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditions(List<SimpleCondition>)
.- Parameters:
conditions
- a consumer that will call methods onSimpleCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.
- Parameters:
operator
- Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.
- Parameters:
operator
- Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-