public class DescribeDBClustersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of a successful invocation of the DescribeDBClusters action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<DBCluster> |
dBClusters
Contains a list of DB clusters for the user.
|
private java.lang.String |
marker
A pagination token that can be used in a subsequent DescribeDBClusters
request.
|
Constructor and Description |
---|
DescribeDBClustersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDBClustersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<DBCluster> |
getDBClusters()
Contains a list of DB clusters for the user.
|
java.lang.String |
getMarker()
A pagination token that can be used in a subsequent DescribeDBClusters
request.
|
int |
hashCode() |
void |
setDBClusters(java.util.Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.
|
void |
setMarker(java.lang.String marker)
A pagination token that can be used in a subsequent DescribeDBClusters
request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDBClustersResult |
withDBClusters(java.util.Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.
|
DescribeDBClustersResult |
withDBClusters(DBCluster... dBClusters)
Contains a list of DB clusters for the user.
|
DescribeDBClustersResult |
withMarker(java.lang.String marker)
A pagination token that can be used in a subsequent DescribeDBClusters
request.
|
private java.lang.String marker
A pagination token that can be used in a subsequent DescribeDBClusters request.
private SdkInternalList<DBCluster> dBClusters
Contains a list of DB clusters for the user.
public void setMarker(java.lang.String marker)
A pagination token that can be used in a subsequent DescribeDBClusters request.
marker
- A pagination token that can be used in a subsequent
DescribeDBClusters request.public java.lang.String getMarker()
A pagination token that can be used in a subsequent DescribeDBClusters request.
public DescribeDBClustersResult withMarker(java.lang.String marker)
A pagination token that can be used in a subsequent DescribeDBClusters request.
marker
- A pagination token that can be used in a subsequent
DescribeDBClusters request.public java.util.List<DBCluster> getDBClusters()
Contains a list of DB clusters for the user.
public void setDBClusters(java.util.Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.
dBClusters
- Contains a list of DB clusters for the user.public DescribeDBClustersResult withDBClusters(DBCluster... dBClusters)
Contains a list of DB clusters for the user.
NOTE: This method appends the values to the existing list (if
any). Use setDBClusters(java.util.Collection)
or
withDBClusters(java.util.Collection)
if you want to override the
existing values.
dBClusters
- Contains a list of DB clusters for the user.public DescribeDBClustersResult withDBClusters(java.util.Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.
dBClusters
- Contains a list of DB clusters for the user.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeDBClustersResult clone()
clone
in class java.lang.Object