public class DescribeContainerInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ContainerInstance> |
containerInstances
The list of container instances.
|
private SdkInternalList<Failure> |
failures
Any failures associated with the call.
|
Constructor and Description |
---|
DescribeContainerInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeContainerInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ContainerInstance> |
getContainerInstances()
The list of container instances.
|
java.util.List<Failure> |
getFailures()
Any failures associated with the call.
|
int |
hashCode() |
void |
setContainerInstances(java.util.Collection<ContainerInstance> containerInstances)
The list of container instances.
|
void |
setFailures(java.util.Collection<Failure> failures)
Any failures associated with the call.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeContainerInstancesResult |
withContainerInstances(java.util.Collection<ContainerInstance> containerInstances)
The list of container instances.
|
DescribeContainerInstancesResult |
withContainerInstances(ContainerInstance... containerInstances)
The list of container instances.
|
DescribeContainerInstancesResult |
withFailures(java.util.Collection<Failure> failures)
Any failures associated with the call.
|
DescribeContainerInstancesResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
private SdkInternalList<ContainerInstance> containerInstances
The list of container instances.
private SdkInternalList<Failure> failures
Any failures associated with the call.
public java.util.List<ContainerInstance> getContainerInstances()
The list of container instances.
public void setContainerInstances(java.util.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(java.util.Collection<ContainerInstance> containerInstances)
The list of container instances.
containerInstances
- The list of container instances.public java.util.List<Failure> getFailures()
Any failures associated with the call.
public void setFailures(java.util.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(java.util.Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeContainerInstancesResult clone()
clone
in class java.lang.Object