Interface ClusterDbRevision.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterDbRevision.Builder,,ClusterDbRevision> SdkBuilder<ClusterDbRevision.Builder,,ClusterDbRevision> SdkPojo
- Enclosing class:
ClusterDbRevision
public static interface ClusterDbRevision.Builder
extends SdkPojo, CopyableBuilder<ClusterDbRevision.Builder,ClusterDbRevision>
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier(String clusterIdentifier) The unique identifier of the cluster.currentDatabaseRevision(String currentDatabaseRevision) A string representing the current cluster version.databaseRevisionReleaseDate(Instant databaseRevisionReleaseDate) The date on which the database revision was released.revisionTargets(Collection<RevisionTarget> revisionTargets) A list ofRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.revisionTargets(Consumer<RevisionTarget.Builder>... revisionTargets) A list ofRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.revisionTargets(RevisionTarget... revisionTargets) A list ofRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.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
-
clusterIdentifier
The unique identifier of the cluster.
- Parameters:
clusterIdentifier- The unique identifier of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentDatabaseRevision
A string representing the current cluster version.
- Parameters:
currentDatabaseRevision- A string representing the current cluster version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseRevisionReleaseDate
The date on which the database revision was released.
- Parameters:
databaseRevisionReleaseDate- The date on which the database revision was released.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionTargets
A list of
RevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.- Parameters:
revisionTargets- A list ofRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionTargets
A list of
RevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.- Parameters:
revisionTargets- A list ofRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionTargets
A list of
This is a convenience method that creates an instance of theRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.RevisionTarget.Builderavoiding the need to create one manually viaRevisionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevisionTargets(List<RevisionTarget>).- Parameters:
revisionTargets- a consumer that will call methods onRevisionTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-