@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 the response contains
NextToken, submit another ListServices request to get the next
group of results. |
List<ServiceSummary> |
getServices()
An array that contains one
ServiceSummary object for each service that matches the specified filter
criteria. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response contains
NextToken, submit another ListServices request to get the next
group of results. |
void |
setServices(Collection<ServiceSummary> services)
An array that contains one
ServiceSummary object for each service that matches the specified filter
criteria. |
String |
toString()
Returns a string representation of this object.
|
ListServicesResult |
withNextToken(String nextToken)
If the response contains
NextToken, submit another ListServices request to get the next
group of results. |
ListServicesResult |
withServices(Collection<ServiceSummary> services)
An array that contains one
ServiceSummary object for each service that matches the specified filter
criteria. |
ListServicesResult |
withServices(ServiceSummary... services)
An array that contains one
ServiceSummary object for each service that matches the specified filter
criteria. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ServiceSummary> getServices()
An array that contains one ServiceSummary object for each service that matches the specified filter
criteria.
ServiceSummary object for each service that matches the specified
filter criteria.public void setServices(Collection<ServiceSummary> services)
An array that contains one ServiceSummary object for each service that matches the specified filter
criteria.
services - An array that contains one ServiceSummary object for each service that matches the specified
filter criteria.public ListServicesResult withServices(ServiceSummary... services)
An array that contains one ServiceSummary object for each service that matches the specified filter
criteria.
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 that contains one ServiceSummary object for each service that matches the specified
filter criteria.public ListServicesResult withServices(Collection<ServiceSummary> services)
An array that contains one ServiceSummary object for each service that matches the specified filter
criteria.
services - An array that contains one ServiceSummary object for each service that matches the specified
filter criteria.public void setNextToken(String nextToken)
If the response contains NextToken, submit another ListServices request to get the next
group of results. Specify the value of NextToken from the previous response in the next request.
Cloud Map gets MaxResults services and then filters them based on the specified criteria. It's
possible that no services in the first MaxResults services matched the specified criteria but that
subsequent groups of MaxResults services do contain services that match the criteria.
nextToken - If the response contains NextToken, submit another ListServices request to get
the next group of results. Specify the value of NextToken from the previous response in the
next request.
Cloud Map gets MaxResults services and then filters them based on the specified criteria.
It's possible that no services in the first MaxResults services matched the specified
criteria but that subsequent groups of MaxResults services do contain services that match the
criteria.
public String getNextToken()
If the response contains NextToken, submit another ListServices request to get the next
group of results. Specify the value of NextToken from the previous response in the next request.
Cloud Map gets MaxResults services and then filters them based on the specified criteria. It's
possible that no services in the first MaxResults services matched the specified criteria but that
subsequent groups of MaxResults services do contain services that match the criteria.
NextToken, submit another ListServices request to get
the next group of results. Specify the value of NextToken from the previous response in the
next request.
Cloud Map gets MaxResults services and then filters them based on the specified criteria.
It's possible that no services in the first MaxResults services matched the specified
criteria but that subsequent groups of MaxResults services do contain services that match
the criteria.
public ListServicesResult withNextToken(String nextToken)
If the response contains NextToken, submit another ListServices request to get the next
group of results. Specify the value of NextToken from the previous response in the next request.
Cloud Map gets MaxResults services and then filters them based on the specified criteria. It's
possible that no services in the first MaxResults services matched the specified criteria but that
subsequent groups of MaxResults services do contain services that match the criteria.
nextToken - If the response contains NextToken, submit another ListServices request to get
the next group of results. Specify the value of NextToken from the previous response in the
next request.
Cloud Map gets MaxResults services and then filters them based on the specified criteria.
It's possible that no services in the first MaxResults services matched the specified
criteria but that subsequent groups of MaxResults services do contain services that match the
criteria.
public String toString()
toString in class ObjectObject.toString()public ListServicesResult clone()