@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) |
String |
getFormatVersion()
The format version of the response.
|
String |
getNextToken()
The pagination token for the next set of retrievable results.
|
List<Service> |
getServices()
The service metadata for the service or services in the response.
|
int |
hashCode() |
void |
setFormatVersion(String formatVersion)
The format version of the response.
|
void |
setNextToken(String nextToken)
The pagination token for the next set of retrievable results.
|
void |
setServices(Collection<Service> services)
The service metadata for the service or services in the response.
|
String |
toString()
Returns a string representation of this object.
|
DescribeServicesResult |
withFormatVersion(String formatVersion)
The format version of the response.
|
DescribeServicesResult |
withNextToken(String nextToken)
The pagination token for the next set of retrievable results.
|
DescribeServicesResult |
withServices(Collection<Service> services)
The service metadata for the service or services in the response.
|
DescribeServicesResult |
withServices(Service... services)
The service metadata for the service or services in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Service> getServices()
The service metadata for the service or services in the response.
public void setServices(Collection<Service> services)
The service metadata for the service or services in the response.
services
- The service metadata for the service or services in the response.public DescribeServicesResult withServices(Service... services)
The service metadata for the service or services in the response.
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 service metadata for the service or services in the response.public DescribeServicesResult withServices(Collection<Service> services)
The service metadata for the service or services in the response.
services
- The service metadata for the service or services in the response.public void setFormatVersion(String formatVersion)
The format version of the response. For example, aws_v1
.
formatVersion
- The format version of the response. For example, aws_v1
.public String getFormatVersion()
The format version of the response. For example, aws_v1
.
aws_v1
.public DescribeServicesResult withFormatVersion(String formatVersion)
The format version of the response. For example, aws_v1
.
formatVersion
- The format version of the response. For example, aws_v1
.public void setNextToken(String nextToken)
The pagination token for the next set of retrievable results.
nextToken
- The pagination token for the next set of retrievable results.public String getNextToken()
The pagination token for the next set of retrievable results.
public DescribeServicesResult withNextToken(String nextToken)
The pagination token for the next set of retrievable results.
nextToken
- The pagination token for the next set of retrievable results.public String toString()
toString
in class Object
Object.toString()
public DescribeServicesResult clone()