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
Modifier and TypeMethodDescriptiondefault ConditionState.Builder
latestExecution
(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
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
-
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.Builder
avoiding the need to create one manually viaConditionExecution.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaRuleState.builder()
.When the
Consumer
completes,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:
-