Package com.amazonaws.services.ecs.model
Class DescribeClustersResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.DescribeClustersResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeClustersResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeClustersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeClustersResultclone()booleanequals(Object obj)List<Cluster>getClusters()The list of clusters.List<Failure>getFailures()Any failures associated with the call.inthashCode()voidsetClusters(Collection<Cluster> clusters)The list of clusters.voidsetFailures(Collection<Failure> failures)Any failures associated with the call.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeClustersResultwithClusters(Cluster... clusters)The list of clusters.DescribeClustersResultwithClusters(Collection<Cluster> clusters)The list of clusters.DescribeClustersResultwithFailures(Failure... failures)Any failures associated with the call.DescribeClustersResultwithFailures(Collection<Failure> failures)Any failures associated with the call.
-
-
-
Method Detail
-
setClusters
public void setClusters(Collection<Cluster> clusters)
The list of clusters.
- Parameters:
clusters- The list of clusters.
-
withClusters
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)orwithClusters(java.util.Collection)if you want to override the existing values.- Parameters:
clusters- The list of clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withClusters
public DescribeClustersResult withClusters(Collection<Cluster> clusters)
The list of clusters.
- Parameters:
clusters- The list of clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFailures
public List<Failure> getFailures()
Any failures associated with the call.
- Returns:
- Any failures associated with the call.
-
setFailures
public void setFailures(Collection<Failure> failures)
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.
-
withFailures
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)orwithFailures(java.util.Collection)if you want to override the existing values.- Parameters:
failures- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailures
public DescribeClustersResult withFailures(Collection<Failure> failures)
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeClustersResult clone()
-
-