Package com.amazonaws.services.ecs.model
Class DescribeClustersResult
java.lang.Object
com.amazonaws.services.ecs.model.DescribeClustersResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of clusters.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.toString()
Returns a string representation of this object; useful for testing and debugging.withClusters
(Cluster... clusters) The list of clusters.withClusters
(Collection<Cluster> clusters) The list of clusters.withFailures
(Failure... failures) Any failures associated with the call.withFailures
(Collection<Failure> failures) Any failures associated with the call.
-
Constructor Details
-
DescribeClustersResult
public DescribeClustersResult()
-
-
Method Details
-
getClusters
The list of clusters.
- Returns:
- The list of clusters.
-
setClusters
The list of clusters.
- Parameters:
clusters
- The list of clusters.
-
withClusters
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
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
Any failures associated with the call.
- Returns:
- Any failures associated with the call.
-
setFailures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.
-
withFailures
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-