Interface AutomatedReasoningPolicyMutation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyMutation.Builder,AutomatedReasoningPolicyMutation>,SdkBuilder<AutomatedReasoningPolicyMutation.Builder,AutomatedReasoningPolicyMutation>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyMutation
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyMutation.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyMutation.Builder,AutomatedReasoningPolicyMutation>
-
-
Method Summary
-
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
-
addType
AutomatedReasoningPolicyMutation.Builder addType(AutomatedReasoningPolicyAddTypeMutation addType)
A mutation to add a new custom type to the policy.
- Parameters:
addType- A mutation to add a new custom type to the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addType
default AutomatedReasoningPolicyMutation.Builder addType(Consumer<AutomatedReasoningPolicyAddTypeMutation.Builder> addType)
A mutation to add a new custom type to the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAddTypeMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAddTypeMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddType(AutomatedReasoningPolicyAddTypeMutation).- Parameters:
addType- a consumer that will call methods onAutomatedReasoningPolicyAddTypeMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
addType(AutomatedReasoningPolicyAddTypeMutation)
-
updateType
AutomatedReasoningPolicyMutation.Builder updateType(AutomatedReasoningPolicyUpdateTypeMutation updateType)
A mutation to modify an existing custom type in the policy.
- Parameters:
updateType- A mutation to modify an existing custom type in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateType
default AutomatedReasoningPolicyMutation.Builder updateType(Consumer<AutomatedReasoningPolicyUpdateTypeMutation.Builder> updateType)
A mutation to modify an existing custom type in the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateTypeMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyUpdateTypeMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateType(AutomatedReasoningPolicyUpdateTypeMutation).- Parameters:
updateType- a consumer that will call methods onAutomatedReasoningPolicyUpdateTypeMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
updateType(AutomatedReasoningPolicyUpdateTypeMutation)
-
deleteType
AutomatedReasoningPolicyMutation.Builder deleteType(AutomatedReasoningPolicyDeleteTypeMutation deleteType)
A mutation to remove a custom type from the policy.
- Parameters:
deleteType- A mutation to remove a custom type from the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteType
default AutomatedReasoningPolicyMutation.Builder deleteType(Consumer<AutomatedReasoningPolicyDeleteTypeMutation.Builder> deleteType)
A mutation to remove a custom type from the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDeleteTypeMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDeleteTypeMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeleteType(AutomatedReasoningPolicyDeleteTypeMutation).- Parameters:
deleteType- a consumer that will call methods onAutomatedReasoningPolicyDeleteTypeMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deleteType(AutomatedReasoningPolicyDeleteTypeMutation)
-
addVariable
AutomatedReasoningPolicyMutation.Builder addVariable(AutomatedReasoningPolicyAddVariableMutation addVariable)
A mutation to add a new variable to the policy.
- Parameters:
addVariable- A mutation to add a new variable to the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addVariable
default AutomatedReasoningPolicyMutation.Builder addVariable(Consumer<AutomatedReasoningPolicyAddVariableMutation.Builder> addVariable)
A mutation to add a new variable to the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAddVariableMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAddVariableMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddVariable(AutomatedReasoningPolicyAddVariableMutation).- Parameters:
addVariable- a consumer that will call methods onAutomatedReasoningPolicyAddVariableMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
addVariable(AutomatedReasoningPolicyAddVariableMutation)
-
updateVariable
AutomatedReasoningPolicyMutation.Builder updateVariable(AutomatedReasoningPolicyUpdateVariableMutation updateVariable)
A mutation to modify an existing variable in the policy.
- Parameters:
updateVariable- A mutation to modify an existing variable in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateVariable
default AutomatedReasoningPolicyMutation.Builder updateVariable(Consumer<AutomatedReasoningPolicyUpdateVariableMutation.Builder> updateVariable)
A mutation to modify an existing variable in the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateVariableMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyUpdateVariableMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateVariable(AutomatedReasoningPolicyUpdateVariableMutation).- Parameters:
updateVariable- a consumer that will call methods onAutomatedReasoningPolicyUpdateVariableMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
updateVariable(AutomatedReasoningPolicyUpdateVariableMutation)
-
deleteVariable
AutomatedReasoningPolicyMutation.Builder deleteVariable(AutomatedReasoningPolicyDeleteVariableMutation deleteVariable)
A mutation to remove a variable from the policy.
- Parameters:
deleteVariable- A mutation to remove a variable from the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteVariable
default AutomatedReasoningPolicyMutation.Builder deleteVariable(Consumer<AutomatedReasoningPolicyDeleteVariableMutation.Builder> deleteVariable)
A mutation to remove a variable from the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDeleteVariableMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDeleteVariableMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeleteVariable(AutomatedReasoningPolicyDeleteVariableMutation).- Parameters:
deleteVariable- a consumer that will call methods onAutomatedReasoningPolicyDeleteVariableMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deleteVariable(AutomatedReasoningPolicyDeleteVariableMutation)
-
addRule
AutomatedReasoningPolicyMutation.Builder addRule(AutomatedReasoningPolicyAddRuleMutation addRule)
A mutation to add a new rule to the policy.
- Parameters:
addRule- A mutation to add a new rule to the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addRule
default AutomatedReasoningPolicyMutation.Builder addRule(Consumer<AutomatedReasoningPolicyAddRuleMutation.Builder> addRule)
A mutation to add a new rule to the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAddRuleMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAddRuleMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddRule(AutomatedReasoningPolicyAddRuleMutation).- Parameters:
addRule- a consumer that will call methods onAutomatedReasoningPolicyAddRuleMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
addRule(AutomatedReasoningPolicyAddRuleMutation)
-
updateRule
AutomatedReasoningPolicyMutation.Builder updateRule(AutomatedReasoningPolicyUpdateRuleMutation updateRule)
A mutation to modify an existing rule in the policy.
- Parameters:
updateRule- A mutation to modify an existing rule in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateRule
default AutomatedReasoningPolicyMutation.Builder updateRule(Consumer<AutomatedReasoningPolicyUpdateRuleMutation.Builder> updateRule)
A mutation to modify an existing rule in the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyUpdateRuleMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyUpdateRuleMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateRule(AutomatedReasoningPolicyUpdateRuleMutation).- Parameters:
updateRule- a consumer that will call methods onAutomatedReasoningPolicyUpdateRuleMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
updateRule(AutomatedReasoningPolicyUpdateRuleMutation)
-
deleteRule
AutomatedReasoningPolicyMutation.Builder deleteRule(AutomatedReasoningPolicyDeleteRuleMutation deleteRule)
A mutation to remove a rule from the policy.
- Parameters:
deleteRule- A mutation to remove a rule from the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteRule
default AutomatedReasoningPolicyMutation.Builder deleteRule(Consumer<AutomatedReasoningPolicyDeleteRuleMutation.Builder> deleteRule)
A mutation to remove a rule from the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDeleteRuleMutation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDeleteRuleMutation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeleteRule(AutomatedReasoningPolicyDeleteRuleMutation).- Parameters:
deleteRule- a consumer that will call methods onAutomatedReasoningPolicyDeleteRuleMutation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deleteRule(AutomatedReasoningPolicyDeleteRuleMutation)
-
-