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. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClusterDbRevision.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.
RevisionTarget.Builder avoiding the need to create one
manually via RevisionTarget.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #revisionTargets(List.
revisionTargets - a consumer that will call methods on
RevisionTarget.Builder#revisionTargets(java.util.Collection) Copyright © 2023. All rights reserved.