Interface AutomatedReasoningPolicyUpdateTypeAnnotation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyUpdateTypeAnnotation.Builder,AutomatedReasoningPolicyUpdateTypeAnnotation>,SdkBuilder<AutomatedReasoningPolicyUpdateTypeAnnotation.Builder,AutomatedReasoningPolicyUpdateTypeAnnotation>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyUpdateTypeAnnotation
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyUpdateTypeAnnotation.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyUpdateTypeAnnotation.Builder,AutomatedReasoningPolicyUpdateTypeAnnotation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyUpdateTypeAnnotation.Builderdescription(String description)The new description for the custom type, replacing the previous description.AutomatedReasoningPolicyUpdateTypeAnnotation.Buildername(String name)The current name of the custom type to update.AutomatedReasoningPolicyUpdateTypeAnnotation.BuildernewName(String newName)The new name for the custom type, if you want to rename it.AutomatedReasoningPolicyUpdateTypeAnnotation.Buildervalues(Collection<AutomatedReasoningPolicyTypeValueAnnotation> values)The updated list of values for the custom type, which can include additions, modifications, or removals.AutomatedReasoningPolicyUpdateTypeAnnotation.Buildervalues(Consumer<AutomatedReasoningPolicyTypeValueAnnotation.Builder>... values)The updated list of values for the custom type, which can include additions, modifications, or removals.AutomatedReasoningPolicyUpdateTypeAnnotation.Buildervalues(AutomatedReasoningPolicyTypeValueAnnotation... values)The updated list of values for the custom type, which can include additions, modifications, or removals.-
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
AutomatedReasoningPolicyUpdateTypeAnnotation.Builder name(String name)
The current name of the custom type to update.
- Parameters:
name- The current name of the custom type to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newName
AutomatedReasoningPolicyUpdateTypeAnnotation.Builder newName(String newName)
The new name for the custom type, if you want to rename it. If not provided, the name remains unchanged.
- Parameters:
newName- The new name for the custom type, if you want to rename it. If not provided, the name remains unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AutomatedReasoningPolicyUpdateTypeAnnotation.Builder description(String description)
The new description for the custom type, replacing the previous description.
- Parameters:
description- The new description for the custom type, replacing the previous description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyUpdateTypeAnnotation.Builder values(Collection<AutomatedReasoningPolicyTypeValueAnnotation> values)
The updated list of values for the custom type, which can include additions, modifications, or removals.
- Parameters:
values- The updated list of values for the custom type, which can include additions, modifications, or removals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyUpdateTypeAnnotation.Builder values(AutomatedReasoningPolicyTypeValueAnnotation... values)
The updated list of values for the custom type, which can include additions, modifications, or removals.
- Parameters:
values- The updated list of values for the custom type, which can include additions, modifications, or removals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
AutomatedReasoningPolicyUpdateTypeAnnotation.Builder values(Consumer<AutomatedReasoningPolicyTypeValueAnnotation.Builder>... values)
The updated list of values for the custom type, which can include additions, modifications, or removals.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyTypeValueAnnotation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyTypeValueAnnotation.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 onAutomatedReasoningPolicyTypeValueAnnotation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#values(java.util.Collection)
-
-