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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterDbRevision.BuilderclusterIdentifier(String clusterIdentifier)The unique identifier of the cluster.ClusterDbRevision.BuildercurrentDatabaseRevision(String currentDatabaseRevision)A string representing the current cluster version.ClusterDbRevision.BuilderdatabaseRevisionReleaseDate(Instant databaseRevisionReleaseDate)The date on which the database revision was released.ClusterDbRevision.BuilderrevisionTargets(Collection<RevisionTarget> revisionTargets)A list ofRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.ClusterDbRevision.BuilderrevisionTargets(Consumer<RevisionTarget.Builder>... revisionTargets)A list ofRevisionTargetobjects, where each object describes the database revision that a cluster can be updated to.ClusterDbRevision.BuilderrevisionTargets(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
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
-
clusterIdentifier
ClusterDbRevision.Builder clusterIdentifier(String 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
ClusterDbRevision.Builder currentDatabaseRevision(String 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
ClusterDbRevision.Builder databaseRevisionReleaseDate(Instant 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
ClusterDbRevision.Builder revisionTargets(Collection<RevisionTarget> 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
ClusterDbRevision.Builder revisionTargets(RevisionTarget... 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
ClusterDbRevision.Builder revisionTargets(Consumer<RevisionTarget.Builder>... 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 to#revisionTargets(List.) - 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:
#revisionTargets(java.util.Collection)
-
-