Package com.amazonaws.services.ecs.model
Class DescribeContainerInstancesResult
java.lang.Object
com.amazonaws.services.ecs.model.DescribeContainerInstancesResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of container instances.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.toString()
Returns a string representation of this object; useful for testing and debugging.withContainerInstances
(ContainerInstance... containerInstances) The list of container instances.withContainerInstances
(Collection<ContainerInstance> containerInstances) The list of container instances.withFailures
(Failure... failures) Any failures associated with the call.withFailures
(Collection<Failure> failures) Any failures associated with the call.
-
Constructor Details
-
DescribeContainerInstancesResult
public DescribeContainerInstancesResult()
-
-
Method Details
-
getContainerInstances
The list of container instances.
- Returns:
- The list of container instances.
-
setContainerInstances
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
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
-