public class DescribeClustersResult extends Object 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() |
int |
hashCode() |
void |
setClusters(Collection<Cluster> clusters)
The list of clusters.
|
void |
setFailures(Collection<Failure> failures) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeClustersResult |
withClusters(Cluster... clusters)
The list of clusters.
|
DescribeClustersResult |
withClusters(Collection<Cluster> clusters)
The list of clusters.
|
DescribeClustersResult |
withFailures(Collection<Failure> failures)
Returns a reference to this object so that method calls can be chained together.
|
DescribeClustersResult |
withFailures(Failure... failures)
NOTE: This method appends the values to the existing list (if
any).
|
public void setClusters(Collection<Cluster> clusters)
clusters
- The list of clusters.public DescribeClustersResult withClusters(Cluster... 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.
Returns a reference to this object so that method calls can be chained together.
clusters
- The list of clusters.public DescribeClustersResult withClusters(Collection<Cluster> clusters)
Returns a reference to this object so that method calls can be chained together.
clusters
- The list of clusters.public void setFailures(Collection<Failure> failures)
failures
- public DescribeClustersResult withFailures(Failure... failures)
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.
Returns a reference to this object so that method calls can be chained together.
failures
- public DescribeClustersResult withFailures(Collection<Failure> failures)
Returns a reference to this object so that method calls can be chained together.
failures
- public String toString()
toString
in class Object
Object.toString()
public DescribeClustersResult clone()
Copyright © 2015. All rights reserved.