@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()
The token to use to retrieve the next page of results.
|
List<ServiceInfo> |
getServices()
Information about the services.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setServices(Collection<ServiceInfo> services)
Information about the services.
|
String |
toString()
Returns a string representation of this object.
|
ListServicesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListServicesResult |
withServices(Collection<ServiceInfo> services)
Information about the services.
|
ListServicesResult |
withServices(ServiceInfo... services)
Information about the services.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
public ListServicesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public List<ServiceInfo> getServices()
Information about the services.
public void setServices(Collection<ServiceInfo> services)
Information about the services.
services - Information about the services.public ListServicesResult withServices(ServiceInfo... services)
Information about the 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 - Information about the services.public ListServicesResult withServices(Collection<ServiceInfo> services)
Information about the services.
services - Information about the services.public String toString()
toString in class ObjectObject.toString()public ListServicesResult clone()
Copyright © 2020. All rights reserved.