Package com.amazonaws.services.ecs.model
Class DescribeContainerInstancesResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.DescribeContainerInstancesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeContainerInstancesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeContainerInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeContainerInstancesResult
clone()
boolean
equals(Object obj)
List<ContainerInstance>
getContainerInstances()
The list of container instances.List<Failure>
getFailures()
Any failures associated with the call.int
hashCode()
void
setContainerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.void
setFailures(Collection<Failure> failures)
Any failures associated with the call.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeContainerInstancesResult
withContainerInstances(ContainerInstance... containerInstances)
The list of container instances.DescribeContainerInstancesResult
withContainerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.DescribeContainerInstancesResult
withFailures(Failure... failures)
Any failures associated with the call.DescribeContainerInstancesResult
withFailures(Collection<Failure> failures)
Any failures associated with the call.
-
-
-
Method Detail
-
getContainerInstances
public List<ContainerInstance> getContainerInstances()
The list of container instances.
- Returns:
- The list of container instances.
-
setContainerInstances
public void setContainerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.
- Parameters:
containerInstances
- The list of container instances.
-
withContainerInstances
public DescribeContainerInstancesResult withContainerInstances(ContainerInstance... containerInstances)
The list of container instances.
NOTE: This method appends the values to the existing list (if any). Use
setContainerInstances(java.util.Collection)
orwithContainerInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
containerInstances
- The list of container instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withContainerInstances
public DescribeContainerInstancesResult withContainerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.
- Parameters:
containerInstances
- The list of container instances.- 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 DescribeContainerInstancesResult 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 DescribeContainerInstancesResult 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeContainerInstancesResult clone()
-
-