Package com.amazonaws.services.rds.model
Class DescribeDBClustersResult
- java.lang.Object
-
- com.amazonaws.services.rds.model.DescribeDBClustersResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeDBClustersResult extends Object implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeDBClusters action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDBClustersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDBClustersResult
clone()
boolean
equals(Object obj)
List<DBCluster>
getDBClusters()
Contains a list of DB clusters for the user.String
getMarker()
A pagination token that can be used in a subsequent DescribeDBClusters request.int
hashCode()
void
setDBClusters(Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.void
setMarker(String marker)
A pagination token that can be used in a subsequent DescribeDBClusters request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeDBClustersResult
withDBClusters(DBCluster... dBClusters)
Contains a list of DB clusters for the user.DescribeDBClustersResult
withDBClusters(Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.DescribeDBClustersResult
withMarker(String marker)
A pagination token that can be used in a subsequent DescribeDBClusters request.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
A pagination token that can be used in a subsequent DescribeDBClusters request.
- Parameters:
marker
- A pagination token that can be used in a subsequent DescribeDBClusters request.
-
getMarker
public String getMarker()
A pagination token that can be used in a subsequent DescribeDBClusters request.
- Returns:
- A pagination token that can be used in a subsequent DescribeDBClusters request.
-
withMarker
public DescribeDBClustersResult withMarker(String marker)
A pagination token that can be used in a subsequent DescribeDBClusters request.
- Parameters:
marker
- A pagination token that can be used in a subsequent DescribeDBClusters request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDBClusters
public List<DBCluster> getDBClusters()
Contains a list of DB clusters for the user.
- Returns:
- Contains a list of DB clusters for the user.
-
setDBClusters
public void setDBClusters(Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.
- Parameters:
dBClusters
- Contains a list of DB clusters for the user.
-
withDBClusters
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)
orwithDBClusters(java.util.Collection)
if you want to override the existing values.- Parameters:
dBClusters
- Contains a list of DB clusters for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDBClusters
public DescribeDBClustersResult withDBClusters(Collection<DBCluster> dBClusters)
Contains a list of DB clusters for the user.
- Parameters:
dBClusters
- Contains a list of DB clusters for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDBClustersResult clone()
-
-