Class DescribeServicesResult

java.lang.Object
com.amazonaws.services.ecs.model.DescribeServicesResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeServicesResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeServicesResult

      public DescribeServicesResult()
  • Method Details

    • getServices

      public List<Service> getServices()

      The list of services described.

      Returns:
      The list of services described.
    • setServices

      public void setServices(Collection<Service> services)

      The list of services described.

      Parameters:
      services - The list of services described.
    • withServices

      public DescribeServicesResult withServices(Service... services)

      The list of services described.

      NOTE: This method appends the values to the existing list (if any). Use setServices(java.util.Collection) or withServices(java.util.Collection) if you want to override the existing values.

      Parameters:
      services - The list of services described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withServices

      public DescribeServicesResult withServices(Collection<Service> services)

      The list of services described.

      Parameters:
      services - The list of services described.
      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 DescribeServicesResult 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 DescribeServicesResult 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

      public DescribeServicesResult clone()
      Overrides:
      clone in class Object