Interface AutomatedReasoningPolicyUpdateRuleMutation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyUpdateRuleMutation.Builder,AutomatedReasoningPolicyUpdateRuleMutation>,SdkBuilder<AutomatedReasoningPolicyUpdateRuleMutation.Builder,AutomatedReasoningPolicyUpdateRuleMutation>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyUpdateRuleMutation
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyUpdateRuleMutation.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyUpdateRuleMutation.Builder,AutomatedReasoningPolicyUpdateRuleMutation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomatedReasoningPolicyUpdateRuleMutation.Builderrule(Consumer<AutomatedReasoningPolicyDefinitionRule.Builder> rule)The updated rule definition containing the modified formal logical expression and any changed metadata for the existing rule.AutomatedReasoningPolicyUpdateRuleMutation.Builderrule(AutomatedReasoningPolicyDefinitionRule rule)The updated rule definition containing the modified formal logical expression and any changed metadata for the existing rule.-
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
-
rule
AutomatedReasoningPolicyUpdateRuleMutation.Builder rule(AutomatedReasoningPolicyDefinitionRule rule)
The updated rule definition containing the modified formal logical expression and any changed metadata for the existing rule.
- Parameters:
rule- The updated rule definition containing the modified formal logical expression and any changed metadata for the existing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
default AutomatedReasoningPolicyUpdateRuleMutation.Builder rule(Consumer<AutomatedReasoningPolicyDefinitionRule.Builder> rule)
The updated rule definition containing the modified formal logical expression and any changed metadata for the existing rule.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionRule.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(AutomatedReasoningPolicyDefinitionRule).- Parameters:
rule- a consumer that will call methods onAutomatedReasoningPolicyDefinitionRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rule(AutomatedReasoningPolicyDefinitionRule)
-
-