@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListServicesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListServicesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ServiceFilter> |
getFilters()
A complex type that contains specifications for the namespaces that you want to list services for.
|
Integer |
getMaxResults()
The maximum number of services that you want Cloud Map to return in the response to a
ListServices
request. |
String |
getNextToken()
For the first
ListServices request, omit this value. |
int |
hashCode() |
void |
setFilters(Collection<ServiceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list services for.
|
void |
setMaxResults(Integer maxResults)
The maximum number of services that you want Cloud Map to return in the response to a
ListServices
request. |
void |
setNextToken(String nextToken)
For the first
ListServices request, omit this value. |
String |
toString()
Returns a string representation of this object.
|
ListServicesRequest |
withFilters(Collection<ServiceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list services for.
|
ListServicesRequest |
withFilters(ServiceFilter... filters)
A complex type that contains specifications for the namespaces that you want to list services for.
|
ListServicesRequest |
withMaxResults(Integer maxResults)
The maximum number of services that you want Cloud Map to return in the response to a
ListServices
request. |
ListServicesRequest |
withNextToken(String nextToken)
For the first
ListServices request, omit this value. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setNextToken(String nextToken)
For the first ListServices request, omit this value.
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 - For the first ListServices request, omit this value.
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()
For the first ListServices request, omit this value.
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.
ListServices request, omit this value.
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 ListServicesRequest withNextToken(String nextToken)
For the first ListServices request, omit this value.
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 - For the first ListServices request, omit this value.
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 void setMaxResults(Integer maxResults)
The maximum number of services that you want Cloud Map to return in the response to a ListServices
request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 services.
maxResults - The maximum number of services that you want Cloud Map to return in the response to a
ListServices request. If you don't specify a value for MaxResults, Cloud Map
returns up to 100 services.public Integer getMaxResults()
The maximum number of services that you want Cloud Map to return in the response to a ListServices
request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 services.
ListServices request. If you don't specify a value for MaxResults, Cloud Map
returns up to 100 services.public ListServicesRequest withMaxResults(Integer maxResults)
The maximum number of services that you want Cloud Map to return in the response to a ListServices
request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 services.
maxResults - The maximum number of services that you want Cloud Map to return in the response to a
ListServices request. If you don't specify a value for MaxResults, Cloud Map
returns up to 100 services.public List<ServiceFilter> getFilters()
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
public void setFilters(Collection<ServiceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
filters - A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
public ListServicesRequest withFilters(ServiceFilter... filters)
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
filters - A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
public ListServicesRequest withFilters(Collection<ServiceFilter> filters)
A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
filters - A complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
ListServices.
public String toString()
toString in class ObjectObject.toString()public ListServicesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()