Interface Change.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Change.Builder,,Change> SdkBuilder<Change.Builder,,Change> SdkPojo
- Enclosing class:
Change
@Mutable
@NotThreadSafe
public static interface Change.Builder
extends SdkPojo, CopyableBuilder<Change.Builder,Change>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Change.Builderspecification(Consumer<ChangeSpecification.Builder> specification) The specification details for this change.specification(ChangeSpecification specification) The specification details for this change.specificationType(String specificationType) The type of specification for this change.specificationType(ChangeSpecificationType specificationType) The type of specification for this change.types(Collection<ChangeType> types) The list of change types that were applied.types(ChangeType... types) The list of change types that were applied.typesWithStrings(String... types) The list of change types that were applied.typesWithStrings(Collection<String> types) The list of change types that were applied.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
specificationType
The type of specification for this change.
- Parameters:
specificationType- The type of specification for this change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specificationType
The type of specification for this change.
- Parameters:
specificationType- The type of specification for this change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specification
The specification details for this change.
- Parameters:
specification- The specification details for this change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
The specification details for this change.
This is a convenience method that creates an instance of theChangeSpecification.Builderavoiding the need to create one manually viaChangeSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospecification(ChangeSpecification).- Parameters:
specification- a consumer that will call methods onChangeSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
typesWithStrings
The list of change types that were applied.
- Parameters:
types- The list of change types that were applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typesWithStrings
The list of change types that were applied.
- Parameters:
types- The list of change types that were applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
The list of change types that were applied.
- Parameters:
types- The list of change types that were applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
The list of change types that were applied.
- Parameters:
types- The list of change types that were applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-