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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Condition.Builderconditions(Collection<SimpleCondition> conditions)The conditions to evaluate for the activity.Condition.Builderconditions(Consumer<SimpleCondition.Builder>... conditions)The conditions to evaluate for the activity.Condition.Builderconditions(SimpleCondition... conditions)The conditions to evaluate for the activity.Condition.Builderoperator(String operator)Specifies how to handle multiple conditions for the activity.Condition.Builderoperator(Operator operator)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 Detail
-
conditions
Condition.Builder conditions(Collection<SimpleCondition> 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
Condition.Builder conditions(SimpleCondition... 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
Condition.Builder conditions(Consumer<SimpleCondition.Builder>... conditions)
The conditions to evaluate for the activity.
This is a convenience method that creates an instance of theSimpleCondition.Builderavoiding the need to create one manually viaSimpleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conditions(List.) - 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:
#conditions(java.util.Collection)
-
operator
Condition.Builder operator(String 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,Operator
-
operator
Condition.Builder operator(Operator 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,Operator
-
-