Interface AutomatedReasoningPolicyAddVariableMutation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyAddVariableMutation.Builder,AutomatedReasoningPolicyAddVariableMutation>,SdkBuilder<AutomatedReasoningPolicyAddVariableMutation.Builder,AutomatedReasoningPolicyAddVariableMutation>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyAddVariableMutation
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyAddVariableMutation.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyAddVariableMutation.Builder,AutomatedReasoningPolicyAddVariableMutation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomatedReasoningPolicyAddVariableMutation.Buildervariable(Consumer<AutomatedReasoningPolicyDefinitionVariable.Builder> variable)The variable definition that specifies the name, type, and description for the new variable being added to the policy.AutomatedReasoningPolicyAddVariableMutation.Buildervariable(AutomatedReasoningPolicyDefinitionVariable variable)The variable definition that specifies the name, type, and description for the new variable being added to the policy.-
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
-
variable
AutomatedReasoningPolicyAddVariableMutation.Builder variable(AutomatedReasoningPolicyDefinitionVariable variable)
The variable definition that specifies the name, type, and description for the new variable being added to the policy.
- Parameters:
variable- The variable definition that specifies the name, type, and description for the new variable being added to the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variable
default AutomatedReasoningPolicyAddVariableMutation.Builder variable(Consumer<AutomatedReasoningPolicyDefinitionVariable.Builder> variable)
The variable definition that specifies the name, type, and description for the new variable being added to the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionVariable.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionVariable.builder().When the
Consumercompletes,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:
variable(AutomatedReasoningPolicyDefinitionVariable)
-
-