@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterDbRevision extends Object implements Serializable, Cloneable
Describes a ClusterDbRevision
.
Constructor and Description |
---|
ClusterDbRevision() |
Modifier and Type | Method and Description |
---|---|
ClusterDbRevision |
clone() |
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The unique identifier of the cluster.
|
String |
getCurrentDatabaseRevision()
A string representing the current cluster version.
|
Date |
getDatabaseRevisionReleaseDate()
The date on which the database revision was released.
|
List<RevisionTarget> |
getRevisionTargets()
A list of
RevisionTarget objects, where each object describes the database revision that a cluster
can be updated to. |
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
|
void |
setCurrentDatabaseRevision(String currentDatabaseRevision)
A string representing the current cluster version.
|
void |
setDatabaseRevisionReleaseDate(Date databaseRevisionReleaseDate)
The date on which the database revision was released.
|
void |
setRevisionTargets(Collection<RevisionTarget> revisionTargets)
A list of
RevisionTarget objects, where each object describes the database revision that a cluster
can be updated to. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ClusterDbRevision |
withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
|
ClusterDbRevision |
withCurrentDatabaseRevision(String currentDatabaseRevision)
A string representing the current cluster version.
|
ClusterDbRevision |
withDatabaseRevisionReleaseDate(Date databaseRevisionReleaseDate)
The date on which the database revision was released.
|
ClusterDbRevision |
withRevisionTargets(Collection<RevisionTarget> revisionTargets)
A list of
RevisionTarget objects, where each object describes the database revision that a cluster
can be updated to. |
ClusterDbRevision |
withRevisionTargets(RevisionTarget... revisionTargets)
A list of
RevisionTarget objects, where each object describes the database revision that a cluster
can be updated to. |
public void setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
clusterIdentifier
- The unique identifier of the cluster.public String getClusterIdentifier()
The unique identifier of the cluster.
public ClusterDbRevision withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster.
clusterIdentifier
- The unique identifier of the cluster.public void setCurrentDatabaseRevision(String currentDatabaseRevision)
A string representing the current cluster version.
currentDatabaseRevision
- A string representing the current cluster version.public String getCurrentDatabaseRevision()
A string representing the current cluster version.
public ClusterDbRevision withCurrentDatabaseRevision(String currentDatabaseRevision)
A string representing the current cluster version.
currentDatabaseRevision
- A string representing the current cluster version.public void setDatabaseRevisionReleaseDate(Date databaseRevisionReleaseDate)
The date on which the database revision was released.
databaseRevisionReleaseDate
- The date on which the database revision was released.public Date getDatabaseRevisionReleaseDate()
The date on which the database revision was released.
public ClusterDbRevision withDatabaseRevisionReleaseDate(Date databaseRevisionReleaseDate)
The date on which the database revision was released.
databaseRevisionReleaseDate
- The date on which the database revision was released.public List<RevisionTarget> getRevisionTargets()
A list of RevisionTarget
objects, where each object describes the database revision that a cluster
can be updated to.
RevisionTarget
objects, where each object describes the database revision that a
cluster can be updated to.public void setRevisionTargets(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.public ClusterDbRevision withRevisionTargets(RevisionTarget... revisionTargets)
A list of RevisionTarget
objects, where each object describes the database revision that a cluster
can be updated to.
NOTE: This method appends the values to the existing list (if any). Use
setRevisionTargets(java.util.Collection)
or withRevisionTargets(java.util.Collection)
if you
want to override the existing values.
revisionTargets
- A list of RevisionTarget
objects, where each object describes the database revision that a
cluster can be updated to.public ClusterDbRevision withRevisionTargets(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.public String toString()
toString
in class Object
Object.toString()
public ClusterDbRevision clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.