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.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 ofRevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.ClusterDbRevision.Builder
revisionTargets(Consumer<RevisionTarget.Builder>... revisionTargets)
A list ofRevisionTarget
objects, where each object describes the database revision that a cluster can be updated to.ClusterDbRevision.Builder
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 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
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
ClusterDbRevision.Builder revisionTargets(RevisionTarget... 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
ClusterDbRevision.Builder revisionTargets(Consumer<RevisionTarget.Builder>... 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 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
)
-
-