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:
  • Constructor Details

    • DescribeContainerInstancesResult

      public DescribeContainerInstancesResult()
  • Method Details

    • 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) or withContainerInstances(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) or withFailures(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object