Interface AutomatedReasoningPolicyDefinitionType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyDefinitionType.Builder,AutomatedReasoningPolicyDefinitionType>,SdkBuilder<AutomatedReasoningPolicyDefinitionType.Builder,AutomatedReasoningPolicyDefinitionType>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyDefinitionType
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyDefinitionType.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyDefinitionType.Builder,AutomatedReasoningPolicyDefinitionType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyDefinitionType.Builderdescription(String description)The description of what the custom type represents.AutomatedReasoningPolicyDefinitionType.Buildername(String name)The name of the custom type.AutomatedReasoningPolicyDefinitionType.Buildervalues(Collection<AutomatedReasoningPolicyDefinitionTypeValue> values)The possible values for this enum-based type, each with its own description.AutomatedReasoningPolicyDefinitionType.Buildervalues(Consumer<AutomatedReasoningPolicyDefinitionTypeValue.Builder>... values)The possible values for this enum-based type, each with its own description.AutomatedReasoningPolicyDefinitionType.Buildervalues(AutomatedReasoningPolicyDefinitionTypeValue... values)The possible values for this enum-based type, each with its own description.-
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
-
name
AutomatedReasoningPolicyDefinitionType.Builder name(String name)
The name of the custom type.
- Parameters:
name- The name of the custom type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AutomatedReasoningPolicyDefinitionType.Builder description(String description)
The description of what the custom type represents.
- Parameters:
description- The description of what the custom type represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyDefinitionType.Builder values(Collection<AutomatedReasoningPolicyDefinitionTypeValue> values)
The possible values for this enum-based type, each with its own description.
- Parameters:
values- The possible values for this enum-based type, each with its own description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyDefinitionType.Builder values(AutomatedReasoningPolicyDefinitionTypeValue... values)
The possible values for this enum-based type, each with its own description.
- Parameters:
values- The possible values for this enum-based type, each with its own description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyDefinitionType.Builder values(Consumer<AutomatedReasoningPolicyDefinitionTypeValue.Builder>... values)
The possible values for this enum-based type, each with its own description.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinitionTypeValue.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyDefinitionTypeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#values(List.) - Parameters:
values- a consumer that will call methods onAutomatedReasoningPolicyDefinitionTypeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#values(java.util.Collection)
-
-