Interface ConditionState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConditionState.Builder,,ConditionState> SdkBuilder<ConditionState.Builder,,ConditionState> SdkPojo
- Enclosing class:
ConditionState
@Mutable
@NotThreadSafe
public static interface ConditionState.Builder
extends SdkPojo, CopyableBuilder<ConditionState.Builder,ConditionState>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConditionState.BuilderlatestExecution(Consumer<ConditionExecution.Builder> latestExecution) The state of the latest run of the rule.latestExecution(ConditionExecution latestExecution) The state of the latest run of the rule.ruleStates(Collection<RuleState> ruleStates) The state of the rules for the condition.ruleStates(Consumer<RuleState.Builder>... ruleStates) The state of the rules for the condition.ruleStates(RuleState... ruleStates) The state of the rules for the condition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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
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
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 toruleStates(List<RuleState>).- 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:
-