Interface AutomatedReasoningPolicyAddTypeAnnotation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyAddTypeAnnotation.Builder,AutomatedReasoningPolicyAddTypeAnnotation>,SdkBuilder<AutomatedReasoningPolicyAddTypeAnnotation.Builder,AutomatedReasoningPolicyAddTypeAnnotation>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyAddTypeAnnotation
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyAddTypeAnnotation.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyAddTypeAnnotation.Builder,AutomatedReasoningPolicyAddTypeAnnotation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyAddTypeAnnotation.Builderdescription(String description)A description of what the custom type represents and how it should be used in the policy.AutomatedReasoningPolicyAddTypeAnnotation.Buildername(String name)The name of the new custom type.AutomatedReasoningPolicyAddTypeAnnotation.Buildervalues(Collection<AutomatedReasoningPolicyDefinitionTypeValue> values)The list of possible values that variables of this type can take, each with its own description and identifier.AutomatedReasoningPolicyAddTypeAnnotation.Buildervalues(Consumer<AutomatedReasoningPolicyDefinitionTypeValue.Builder>... values)The list of possible values that variables of this type can take, each with its own description and identifier.AutomatedReasoningPolicyAddTypeAnnotation.Buildervalues(AutomatedReasoningPolicyDefinitionTypeValue... values)The list of possible values that variables of this type can take, each with its own description and identifier.-
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
AutomatedReasoningPolicyAddTypeAnnotation.Builder name(String name)
The name of the new custom type. This name will be used to reference the type in variable definitions and rules.
- Parameters:
name- The name of the new custom type. This name will be used to reference the type in variable definitions and rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AutomatedReasoningPolicyAddTypeAnnotation.Builder description(String description)
A description of what the custom type represents and how it should be used in the policy.
- Parameters:
description- A description of what the custom type represents and how it should be used in the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyAddTypeAnnotation.Builder values(Collection<AutomatedReasoningPolicyDefinitionTypeValue> values)
The list of possible values that variables of this type can take, each with its own description and identifier.
- Parameters:
values- The list of possible values that variables of this type can take, each with its own description and identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyAddTypeAnnotation.Builder values(AutomatedReasoningPolicyDefinitionTypeValue... values)
The list of possible values that variables of this type can take, each with its own description and identifier.
- Parameters:
values- The list of possible values that variables of this type can take, each with its own description and identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyAddTypeAnnotation.Builder values(Consumer<AutomatedReasoningPolicyDefinitionTypeValue.Builder>... values)
The list of possible values that variables of this type can take, each with its own description and identifier.
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)
-
-