Package com.amazonaws.services.ecs.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeServicesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeServicesResultclone()booleanequals(Object obj)List<Failure>getFailures()Any failures associated with the call.List<Service>getServices()The list of services described.inthashCode()voidsetFailures(Collection<Failure> failures)Any failures associated with the call.voidsetServices(Collection<Service> services)The list of services described.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeServicesResultwithFailures(Failure... failures)Any failures associated with the call.DescribeServicesResultwithFailures(Collection<Failure> failures)Any failures associated with the call.DescribeServicesResultwithServices(Service... services)The list of services described.DescribeServicesResultwithServices(Collection<Service> services)The list of services described.
-
-
-
Method Detail
-
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)orwithServices(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)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
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeServicesResult clone()
-
-