Interface AutomatedReasoningPolicyUpdateVariableMutation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyUpdateVariableMutation.Builder,
,AutomatedReasoningPolicyUpdateVariableMutation> SdkBuilder<AutomatedReasoningPolicyUpdateVariableMutation.Builder,
,AutomatedReasoningPolicyUpdateVariableMutation> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyUpdateVariableMutation
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyUpdateVariableMutation.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyUpdateVariableMutation.Builder,AutomatedReasoningPolicyUpdateVariableMutation>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Variable property for this object.Sets the value of the Variable property for this object.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 Details
-
variable
AutomatedReasoningPolicyUpdateVariableMutation.Builder variable(AutomatedReasoningPolicyDefinitionVariable variable) Sets the value of the Variable property for this object.- Parameters:
variable
- The new value for the Variable property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variable
default AutomatedReasoningPolicyUpdateVariableMutation.Builder variable(Consumer<AutomatedReasoningPolicyDefinitionVariable.Builder> variable) Sets the value of the Variable property for this object. This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionVariable.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionVariable.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovariable(AutomatedReasoningPolicyDefinitionVariable)
.- Parameters:
variable
- a consumer that will call methods onAutomatedReasoningPolicyDefinitionVariable.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-