@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServicesResult() |
Modifier and Type | Method and Description |
---|---|
ListServicesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates the location of the next service in the array of services, after the current requested
list of services.
|
List<ServiceSummary> |
getServices()
An array of services with summaries of detail data.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates the location of the next service in the array of services, after the current requested
list of services.
|
void |
setServices(Collection<ServiceSummary> services)
An array of services with summaries of detail data.
|
String |
toString()
Returns a string representation of this object.
|
ListServicesResult |
withNextToken(String nextToken)
A token that indicates the location of the next service in the array of services, after the current requested
list of services.
|
ListServicesResult |
withServices(Collection<ServiceSummary> services)
An array of services with summaries of detail data.
|
ListServicesResult |
withServices(ServiceSummary... services)
An array of services with summaries of detail data.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates the location of the next service in the array of services, after the current requested list of services.
nextToken
- A token that indicates the location of the next service in the array of services, after the current
requested list of services.public String getNextToken()
A token that indicates the location of the next service in the array of services, after the current requested list of services.
public ListServicesResult withNextToken(String nextToken)
A token that indicates the location of the next service in the array of services, after the current requested list of services.
nextToken
- A token that indicates the location of the next service in the array of services, after the current
requested list of services.public List<ServiceSummary> getServices()
An array of services with summaries of detail data.
public void setServices(Collection<ServiceSummary> services)
An array of services with summaries of detail data.
services
- An array of services with summaries of detail data.public ListServicesResult withServices(ServiceSummary... services)
An array of services with summaries of detail data.
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
- An array of services with summaries of detail data.public ListServicesResult withServices(Collection<ServiceSummary> services)
An array of services with summaries of detail data.
services
- An array of services with summaries of detail data.public String toString()
toString
in class Object
Object.toString()
public ListServicesResult clone()