public static interface ClusterDbRevision.Builder extends SdkPojo, CopyableBuilder<ClusterDbRevision.Builder,ClusterDbRevision>
Modifier and Type | Method and Description |
---|---|
ClusterDbRevision.Builder |
clusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
|
ClusterDbRevision.Builder |
currentDatabaseRevision(String currentDatabaseRevision)
A string representing the current cluster version.
|
ClusterDbRevision.Builder |
databaseRevisionReleaseDate(Instant databaseRevisionReleaseDate)
The date on which the database revision was released.
|
ClusterDbRevision.Builder |
revisionTargets(Collection<RevisionTarget> revisionTargets)
A list of
RevisionTarget objects, where each object describes the database revision that a
cluster can be updated to. |
ClusterDbRevision.Builder |
revisionTargets(Consumer<RevisionTarget.Builder>... revisionTargets)
A list of
RevisionTarget objects, where each object describes the database revision that a
cluster can be updated to. |
ClusterDbRevision.Builder |
revisionTargets(RevisionTarget... revisionTargets)
A list of
RevisionTarget objects, where each object describes the database revision that a
cluster can be updated to. |
copy
applyMutation, build
ClusterDbRevision.Builder clusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
clusterIdentifier
- The unique identifier of the cluster.ClusterDbRevision.Builder currentDatabaseRevision(String currentDatabaseRevision)
A string representing the current cluster version.
currentDatabaseRevision
- A string representing the current cluster version.ClusterDbRevision.Builder databaseRevisionReleaseDate(Instant databaseRevisionReleaseDate)
The date on which the database revision was released.
databaseRevisionReleaseDate
- The date on which the database revision was released.ClusterDbRevision.Builder revisionTargets(Collection<RevisionTarget> revisionTargets)
A list of RevisionTarget
objects, where each object describes the database revision that a
cluster can be updated to.
revisionTargets
- A list of RevisionTarget
objects, where each object describes the database revision that
a cluster can be updated to.ClusterDbRevision.Builder revisionTargets(RevisionTarget... revisionTargets)
A list of RevisionTarget
objects, where each object describes the database revision that a
cluster can be updated to.
revisionTargets
- A list of RevisionTarget
objects, where each object describes the database revision that
a cluster can be updated to.ClusterDbRevision.Builder revisionTargets(Consumer<RevisionTarget.Builder>... revisionTargets)
A list of RevisionTarget
objects, where each object describes the database revision that a
cluster can be updated to.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #revisionTargets(List)
.revisionTargets
- a consumer that will call methods on List.Builder
#revisionTargets(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.