@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeContainerInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeContainerInstancesResult() |
Modifier and Type | Method and 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(Collection<ContainerInstance> containerInstances)
The list of container instances.
|
DescribeContainerInstancesResult |
withContainerInstances(ContainerInstance... containerInstances)
The list of container instances.
|
DescribeContainerInstancesResult |
withFailures(Collection<Failure> failures)
Any failures associated with the call.
|
DescribeContainerInstancesResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ContainerInstance> getContainerInstances()
The list of container instances.
public void setContainerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.
containerInstances
- The list of container instances.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)
or withContainerInstances(java.util.Collection)
if
you want to override the existing values.
containerInstances
- The list of container instances.public DescribeContainerInstancesResult withContainerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.
containerInstances
- The list of container instances.public List<Failure> getFailures()
Any failures associated with the call.
public void setFailures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.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)
or withFailures(java.util.Collection)
if you want to override
the existing values.
failures
- Any failures associated with the call.public DescribeContainerInstancesResult withFailures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public String toString()
toString
in class Object
Object.toString()
public DescribeContainerInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.