public class DescribeServicesResult extends Object implements Serializable, Cloneable
The list of AWS 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 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(Collection<Service> services)
A JSON-formatted list of AWS services.
|
DescribeServicesResult |
withServices(Service... services)
A JSON-formatted list of AWS services.
|
public List<Service> getServices()
A JSON-formatted list of AWS services.
public void setServices(Collection<Service> services)
A JSON-formatted list of AWS services.
services
- A JSON-formatted list of AWS services.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)
or
withServices(java.util.Collection)
if you want to override the
existing values.
services
- A JSON-formatted list of AWS services.public DescribeServicesResult withServices(Collection<Service> services)
A JSON-formatted list of AWS services.
services
- A JSON-formatted list of AWS services.public String toString()
toString
in class Object
Object.toString()
public DescribeServicesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.