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 TypeMethodDescriptionThe updated variable definition containing the modified name, type, or description for the existing variable.The updated variable definition containing the modified name, type, or description for the existing variable.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) The updated variable definition containing the modified name, type, or description for the existing variable.
- Parameters:
variable
- The updated variable definition containing the modified name, type, or description for the existing variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variable
default AutomatedReasoningPolicyUpdateVariableMutation.Builder variable(Consumer<AutomatedReasoningPolicyDefinitionVariable.Builder> variable) The updated variable definition containing the modified name, type, or description for the existing variable.
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:
-