Interface UpdateTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateTarget.Builder,,UpdateTarget> SdkBuilder<UpdateTarget.Builder,,UpdateTarget> SdkPojo
- Enclosing class:
UpdateTarget
public static interface UpdateTarget.Builder
extends SdkPojo, CopyableBuilder<UpdateTarget.Builder,UpdateTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseVersion(String databaseVersion) The cluster version for the new maintenance track.maintenanceTrackName(String maintenanceTrackName) The name of the new maintenance track.supportedOperations(Collection<SupportedOperation> supportedOperations) A list of operations supported by the maintenance track.supportedOperations(Consumer<SupportedOperation.Builder>... supportedOperations) A list of operations supported by the maintenance track.supportedOperations(SupportedOperation... supportedOperations) A list of operations supported by the maintenance track.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, sdkFields
-
Method Details
-
maintenanceTrackName
The name of the new maintenance track.
- Parameters:
maintenanceTrackName- The name of the new maintenance track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseVersion
The cluster version for the new maintenance track.
- Parameters:
databaseVersion- The cluster version for the new maintenance track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedOperations
A list of operations supported by the maintenance track.
- Parameters:
supportedOperations- A list of operations supported by the maintenance track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedOperations
A list of operations supported by the maintenance track.
- Parameters:
supportedOperations- A list of operations supported by the maintenance track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedOperations
UpdateTarget.Builder supportedOperations(Consumer<SupportedOperation.Builder>... supportedOperations) A list of operations supported by the maintenance track.
This is a convenience method that creates an instance of theSupportedOperation.Builderavoiding the need to create one manually viaSupportedOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportedOperations(List<SupportedOperation>).- Parameters:
supportedOperations- a consumer that will call methods onSupportedOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-