Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class DescribeClustersResult

java.lang.Object
  extended by com.amazonaws.services.redshift.model.DescribeClustersResult
All Implemented Interfaces:
Serializable

public class DescribeClustersResult
extends Object
implements Serializable

Contains the output from the DescribeClusters action.

See Also:
Serialized Form

Constructor Summary
DescribeClustersResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Cluster> getClusters()
          A list of Cluster objects, where each object describes one cluster.
 String getMarker()
          A marker at which to continue listing clusters in a new request.
 int hashCode()
           
 void setClusters(Collection<Cluster> clusters)
          A list of Cluster objects, where each object describes one cluster.
 void setMarker(String marker)
          A marker at which to continue listing clusters in a new request.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeClustersResult withClusters(Cluster... clusters)
          A list of Cluster objects, where each object describes one cluster.
 DescribeClustersResult withClusters(Collection<Cluster> clusters)
          A list of Cluster objects, where each object describes one cluster.
 DescribeClustersResult withMarker(String marker)
          A marker at which to continue listing clusters in a new request.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeClustersResult

public DescribeClustersResult()
Method Detail

getMarker

public String getMarker()
A marker at which to continue listing clusters in a new request. A marker is returned if there are more clusters to list than were returned in the response.

Returns:
A marker at which to continue listing clusters in a new request. A marker is returned if there are more clusters to list than were returned in the response.

setMarker

public void setMarker(String marker)
A marker at which to continue listing clusters in a new request. A marker is returned if there are more clusters to list than were returned in the response.

Parameters:
marker - A marker at which to continue listing clusters in a new request. A marker is returned if there are more clusters to list than were returned in the response.

withMarker

public DescribeClustersResult withMarker(String marker)
A marker at which to continue listing clusters in a new request. A marker is returned if there are more clusters to list than were returned in the response.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - A marker at which to continue listing clusters in a new request. A marker is returned if there are more clusters to list than were returned in the response.
Returns:
A reference to this updated 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 of Cluster objects, where each object describes one cluster.

withClusters

public DescribeClustersResult withClusters(Cluster... clusters)
A list of Cluster objects, where each object describes one cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusters - A list of Cluster objects, where each object describes one cluster.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusters - A list of Cluster objects, where each object describes one cluster.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.