Interface AutomatedReasoningPolicyAddTypeMutation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyAddTypeMutation.Builder,AutomatedReasoningPolicyAddTypeMutation>,SdkBuilder<AutomatedReasoningPolicyAddTypeMutation.Builder,AutomatedReasoningPolicyAddTypeMutation>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyAddTypeMutation
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyAddTypeMutation.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyAddTypeMutation.Builder,AutomatedReasoningPolicyAddTypeMutation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomatedReasoningPolicyAddTypeMutation.Buildertype(Consumer<AutomatedReasoningPolicyDefinitionType.Builder> type)The type definition that specifies the name, description, and possible values for the new custom type being added to the policy.AutomatedReasoningPolicyAddTypeMutation.Buildertype(AutomatedReasoningPolicyDefinitionType type)The type definition that specifies the name, description, and possible values for the new custom type 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
-
type
AutomatedReasoningPolicyAddTypeMutation.Builder type(AutomatedReasoningPolicyDefinitionType type)
The type definition that specifies the name, description, and possible values for the new custom type being added to the policy.
- Parameters:
type- The type definition that specifies the name, description, and possible values for the new custom type being added to the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
default AutomatedReasoningPolicyAddTypeMutation.Builder type(Consumer<AutomatedReasoningPolicyDefinitionType.Builder> type)
The type definition that specifies the name, description, and possible values for the new custom type being added to the policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionType.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totype(AutomatedReasoningPolicyDefinitionType).- Parameters:
type- a consumer that will call methods onAutomatedReasoningPolicyDefinitionType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
type(AutomatedReasoningPolicyDefinitionType)
-
-