@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeServicesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeServicesResult |
clone() |
boolean |
equals(Object obj) |
List<Failure> |
getFailures()
Any failures associated with the call.
|
List<Service> |
getServices()
The list of services described.
|
int |
hashCode() |
void |
setFailures(Collection<Failure> failures)
Any failures associated with the call.
|
void |
setServices(Collection<Service> services)
The list of services described.
|
String |
toString()
Returns a string representation of this object.
|
DescribeServicesResult |
withFailures(Collection<Failure> failures)
Any failures associated with the call.
|
DescribeServicesResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
DescribeServicesResult |
withServices(Collection<Service> services)
The list of services described.
|
DescribeServicesResult |
withServices(Service... services)
The list of services described.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Service> getServices()
The list of services described.
public void setServices(Collection<Service> services)
The list of services described.
services
- The list of services described.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.
services
- The list of services described.public DescribeServicesResult withServices(Collection<Service> services)
The list of services described.
services
- The list of services described.public List<Failure> getFailures()
Any failures associated with the call.
public void setFailures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.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.
failures
- Any failures associated with the call.public DescribeServicesResult withFailures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public String toString()
toString
in class Object
Object.toString()
public DescribeServicesResult clone()