@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClustersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeClustersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeClustersResult |
clone() |
boolean |
equals(Object obj) |
List<Cluster> |
getClusters()
The list of clusters.
|
List<Failure> |
getFailures()
Any failures associated with the call.
|
int |
hashCode() |
void |
setClusters(Collection<Cluster> clusters)
The list of clusters.
|
void |
setFailures(Collection<Failure> failures)
Any failures associated with the call.
|
String |
toString()
Returns a string representation of this object.
|
DescribeClustersResult |
withClusters(Cluster... clusters)
The list of clusters.
|
DescribeClustersResult |
withClusters(Collection<Cluster> clusters)
The list of clusters.
|
DescribeClustersResult |
withFailures(Collection<Failure> failures)
Any failures associated with the call.
|
DescribeClustersResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setClusters(Collection<Cluster> clusters)
The list of clusters.
clusters
- The list of clusters.public DescribeClustersResult withClusters(Cluster... clusters)
The list of clusters.
NOTE: This method appends the values to the existing list (if any). Use
setClusters(java.util.Collection)
or withClusters(java.util.Collection)
if you want to override
the existing values.
clusters
- The list of clusters.public DescribeClustersResult withClusters(Collection<Cluster> clusters)
The list of clusters.
clusters
- The list of clusters.public List<Failure> getFailures()
Any failures associated with the call.
public void setFailures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public DescribeClustersResult withFailures(Failure... failures)
Any failures associated with the call.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
or withFailures(java.util.Collection)
if you want to override
the existing values.
failures
- Any failures associated with the call.public DescribeClustersResult withFailures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public String toString()
toString
in class Object
Object.toString()
public DescribeClustersResult clone()