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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateTarget.Builder
databaseVersion(String databaseVersion)
The cluster version for the new maintenance track.UpdateTarget.Builder
maintenanceTrackName(String maintenanceTrackName)
The name of the new maintenance track.UpdateTarget.Builder
supportedOperations(Collection<SupportedOperation> supportedOperations)
A list of operations supported by the maintenance track.UpdateTarget.Builder
supportedOperations(Consumer<SupportedOperation.Builder>... supportedOperations)
A list of operations supported by the maintenance track.UpdateTarget.Builder
supportedOperations(SupportedOperation... supportedOperations)
A list of operations supported by the maintenance track.-
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, sdkFields
-
-
-
-
Method Detail
-
maintenanceTrackName
UpdateTarget.Builder maintenanceTrackName(String 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
UpdateTarget.Builder databaseVersion(String 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
UpdateTarget.Builder supportedOperations(Collection<SupportedOperation> 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(SupportedOperation... 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.Builder
avoiding the need to create one manually viaSupportedOperation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#supportedOperations(List
.) - 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:
#supportedOperations(java.util.Collection
)
-
-