Class DescribeClustersResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeClustersResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeClustersResult extends Object implements Serializable, Cloneable
Contains the output from the DescribeClusters action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeClustersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeClustersResult
clone()
boolean
equals(Object obj)
List<Cluster>
getClusters()
A list ofCluster
objects, where each object describes one cluster.String
getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request.int
hashCode()
void
setClusters(Collection<Cluster> clusters)
A list ofCluster
objects, where each object describes one cluster.void
setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeClustersResult
withClusters(Cluster... clusters)
A list ofCluster
objects, where each object describes one cluster.DescribeClustersResult
withClusters(Collection<Cluster> clusters)
A list ofCluster
objects, where each object describes one cluster.DescribeClustersResult
withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
-
getMarker
public String getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- A value that indicates the starting point for the next set of
response records in a subsequent request. If a value is returned
in a response, you can retrieve the next set of records by
providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
-
withMarker
public DescribeClustersResult withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getClusters
public List<Cluster> getClusters()
A list of
Cluster
objects, where each object describes one cluster.- Returns:
- A list of
Cluster
objects, where each object describes one cluster.
-
setClusters
public void setClusters(Collection<Cluster> clusters)
A list of
Cluster
objects, where each object describes one cluster.- Parameters:
clusters
- A list ofCluster
objects, where each object describes one cluster.
-
withClusters
public DescribeClustersResult withClusters(Cluster... clusters)
A list of
Cluster
objects, where each object describes one cluster.NOTE: This method appends the values to the existing list (if any). Use
setClusters(java.util.Collection)
orwithClusters(java.util.Collection)
if you want to override the existing values.- Parameters:
clusters
- A list ofCluster
objects, where each object describes one cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withClusters
public DescribeClustersResult withClusters(Collection<Cluster> clusters)
A list of
Cluster
objects, where each object describes one cluster.- Parameters:
clusters
- A list ofCluster
objects, where each object describes one cluster.- 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 DescribeClustersResult clone()
-
-