Interface ConditionState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConditionState.Builder,ConditionState>,SdkBuilder<ConditionState.Builder,ConditionState>,SdkPojo
- Enclosing class:
- ConditionState
public static interface ConditionState.Builder extends SdkPojo, CopyableBuilder<ConditionState.Builder,ConditionState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConditionState.BuilderlatestExecution(Consumer<ConditionExecution.Builder> latestExecution)The state of the latest run of the rule.ConditionState.BuilderlatestExecution(ConditionExecution latestExecution)The state of the latest run of the rule.ConditionState.BuilderruleStates(Collection<RuleState> ruleStates)The state of the rules for the condition.ConditionState.BuilderruleStates(Consumer<RuleState.Builder>... ruleStates)The state of the rules for the condition.ConditionState.BuilderruleStates(RuleState... ruleStates)The state of the rules for the 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 Detail
-
latestExecution
ConditionState.Builder latestExecution(ConditionExecution latestExecution)
The state of the latest run of the rule.
- Parameters:
latestExecution- The state of the latest run of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestExecution
default ConditionState.Builder latestExecution(Consumer<ConditionExecution.Builder> latestExecution)
The state of the latest run of the rule.
This is a convenience method that creates an instance of theConditionExecution.Builderavoiding the need to create one manually viaConditionExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolatestExecution(ConditionExecution).- Parameters:
latestExecution- a consumer that will call methods onConditionExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
latestExecution(ConditionExecution)
-
ruleStates
ConditionState.Builder ruleStates(Collection<RuleState> ruleStates)
The state of the rules for the condition.
- Parameters:
ruleStates- The state of the rules for the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleStates
ConditionState.Builder ruleStates(RuleState... ruleStates)
The state of the rules for the condition.
- Parameters:
ruleStates- The state of the rules for the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleStates
ConditionState.Builder ruleStates(Consumer<RuleState.Builder>... ruleStates)
The state of the rules for the condition.
This is a convenience method that creates an instance of theRuleState.Builderavoiding the need to create one manually viaRuleState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ruleStates(List.) - Parameters:
ruleStates- a consumer that will call methods onRuleState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ruleStates(java.util.Collection)
-
-