@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()
If present in the response, this value indicates there's more output available that what's included in the
current response.
|
List<ServiceInfo> |
getServices()
Returns a list of services.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present in the response, this value indicates there's more output available that what's included in the
current response.
|
void |
setServices(Collection<ServiceInfo> services)
Returns a list of services.
|
String |
toString()
Returns a string representation of this object.
|
ListServicesResult |
withNextToken(String nextToken)
If present in the response, this value indicates there's more output available that what's included in the
current response.
|
ListServicesResult |
withServices(Collection<ServiceInfo> services)
Returns a list of services.
|
ListServicesResult |
withServices(ServiceInfo... services)
Returns a list of services.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If present in the response, this value indicates there's more output available that what's included in the
current response. This can occur even when the response includes no values at all, such as when you ask for a
filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent
call to the operation to continue processing and get the next part of the output. You should repeat this until
the NextToken response element comes back empty (as null).
nextToken - If present in the response, this value indicates there's more output available that what's included in the
current response. This can occur even when the response includes no values at all, such as when you ask
for a filtered view of a very long list. Use this value in the NextToken request parameter in
a subsequent call to the operation to continue processing and get the next part of the output. You should
repeat this until the NextToken response element comes back empty (as null).public String getNextToken()
If present in the response, this value indicates there's more output available that what's included in the
current response. This can occur even when the response includes no values at all, such as when you ask for a
filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent
call to the operation to continue processing and get the next part of the output. You should repeat this until
the NextToken response element comes back empty (as null).
NextToken request
parameter in a subsequent call to the operation to continue processing and get the next part of the
output. You should repeat this until the NextToken response element comes back empty (as
null).public ListServicesResult withNextToken(String nextToken)
If present in the response, this value indicates there's more output available that what's included in the
current response. This can occur even when the response includes no values at all, such as when you ask for a
filtered view of a very long list. Use this value in the NextToken request parameter in a subsequent
call to the operation to continue processing and get the next part of the output. You should repeat this until
the NextToken response element comes back empty (as null).
nextToken - If present in the response, this value indicates there's more output available that what's included in the
current response. This can occur even when the response includes no values at all, such as when you ask
for a filtered view of a very long list. Use this value in the NextToken request parameter in
a subsequent call to the operation to continue processing and get the next part of the output. You should
repeat this until the NextToken response element comes back empty (as null).public List<ServiceInfo> getServices()
Returns a list of services.
public void setServices(Collection<ServiceInfo> services)
Returns a list of services.
services - Returns a list of services.public ListServicesResult withServices(ServiceInfo... services)
Returns a list of 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 - Returns a list of services.public ListServicesResult withServices(Collection<ServiceInfo> services)
Returns a list of services.
services - Returns a list of services.public String toString()
toString in class ObjectObject.toString()public ListServicesResult clone()
Copyright © 2019. All rights reserved.