Class DescribeServicesResult
- java.lang.Object
-
- com.amazonaws.services.support.model.DescribeServicesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeServicesResult extends Object implements Serializable, Cloneable
The list of AWS services returned by the DescribeServices operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeServicesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeServicesResult
clone()
boolean
equals(Object obj)
List<Service>
getServices()
A JSON-formatted list of AWS services.int
hashCode()
void
setServices(Collection<Service> services)
A JSON-formatted list of AWS services.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeServicesResult
withServices(Service... services)
A JSON-formatted list of AWS services.DescribeServicesResult
withServices(Collection<Service> services)
A JSON-formatted list of AWS services.
-
-
-
Method Detail
-
getServices
public List<Service> getServices()
A JSON-formatted list of AWS services.
- Returns:
- A JSON-formatted list of AWS services.
-
setServices
public void setServices(Collection<Service> services)
A JSON-formatted list of AWS services.
- Parameters:
services
- A JSON-formatted list of AWS services.
-
withServices
public DescribeServicesResult withServices(Service... services)
A JSON-formatted list of AWS services.
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
- A JSON-formatted list of AWS services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withServices
public DescribeServicesResult withServices(Collection<Service> services)
A JSON-formatted list of AWS services.
- Parameters:
services
- A JSON-formatted list of AWS services.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeServicesResult clone()
-
-