@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The list of Amazon Web Services services returned by the DescribeServices operation.
Constructor and Description |
---|
DescribeServicesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeServicesResult |
clone() |
boolean |
equals(Object obj) |
List<Service> |
getServices()
A JSON-formatted list of Amazon Web Services services.
|
int |
hashCode() |
void |
setServices(Collection<Service> services)
A JSON-formatted list of Amazon Web Services services.
|
String |
toString()
Returns a string representation of this object.
|
DescribeServicesResult |
withServices(Collection<Service> services)
A JSON-formatted list of Amazon Web Services services.
|
DescribeServicesResult |
withServices(Service... services)
A JSON-formatted list of Amazon Web Services services.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Service> getServices()
A JSON-formatted list of Amazon Web Services services.
public void setServices(Collection<Service> services)
A JSON-formatted list of Amazon Web Services services.
services
- A JSON-formatted list of Amazon Web Services services.public DescribeServicesResult withServices(Service... services)
A JSON-formatted list of Amazon Web Services services.
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.
services
- A JSON-formatted list of Amazon Web Services services.public DescribeServicesResult withServices(Collection<Service> services)
A JSON-formatted list of Amazon Web Services services.
services
- A JSON-formatted list of Amazon Web Services services.public String toString()
toString
in class Object
Object.toString()
public DescribeServicesResult clone()