public class DescribeServicesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The list of AWS services returned by the DescribeServices operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Service> |
services
A JSON-formatted list of AWS services.
|
Constructor and Description |
---|
DescribeServicesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeServicesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Service> |
getServices()
A JSON-formatted list of AWS services.
|
int |
hashCode() |
void |
setServices(java.util.Collection<Service> services)
A JSON-formatted list of AWS services.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeServicesResult |
withServices(java.util.Collection<Service> services)
A JSON-formatted list of AWS services.
|
DescribeServicesResult |
withServices(Service... services)
A JSON-formatted list of AWS services.
|
private SdkInternalList<Service> services
A JSON-formatted list of AWS services.
public java.util.List<Service> getServices()
A JSON-formatted list of AWS services.
public void setServices(java.util.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(java.util.Collection<Service> services)
A JSON-formatted list of AWS services.
services
- A JSON-formatted list of AWS services.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeServicesResult clone()
clone
in class java.lang.Object