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 ofRevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.revisionTargets
(Consumer<RevisionTarget.Builder>... revisionTargets) A list ofRevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.revisionTargets
(RevisionTarget... revisionTargets) A list ofRevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.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 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
RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.- Parameters:
revisionTargets
- A list ofRevisionTarget
objects, 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
RevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.- Parameters:
revisionTargets
- A list ofRevisionTarget
objects, 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 theRevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.RevisionTarget.Builder
avoiding the need to create one manually viaRevisionTarget.builder()
.When the
Consumer
completes,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:
-