@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of instances that you want Cloud Map to return in the response to a
ListInstances
request. |
String |
getNextToken()
For the first
ListInstances request, omit this value. |
String |
getServiceId()
The ID of the service that you want to list instances for.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
ListInstances
request. |
void |
setNextToken(String nextToken)
For the first
ListInstances request, omit this value. |
void |
setServiceId(String serviceId)
The ID of the service that you want to list instances for.
|
String |
toString()
Returns a string representation of this object.
|
ListInstancesRequest |
withMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a
ListInstances
request. |
ListInstancesRequest |
withNextToken(String nextToken)
For the first
ListInstances request, omit this value. |
ListInstancesRequest |
withServiceId(String serviceId)
The ID of the service that you want to list instances for.
|
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 setServiceId(String serviceId)
The ID of the service that you want to list instances for.
serviceId - The ID of the service that you want to list instances for.public String getServiceId()
The ID of the service that you want to list instances for.
public ListInstancesRequest withServiceId(String serviceId)
The ID of the service that you want to list instances for.
serviceId - The ID of the service that you want to list instances for.public void setNextToken(String nextToken)
For the first ListInstances request, omit this value.
If more than MaxResults instances match the specified criteria, you can submit another
ListInstances request to get the next group of results. Specify the value of NextToken
from the previous response in the next request.
nextToken - For the first ListInstances request, omit this value.
If more than MaxResults instances match the specified criteria, you can submit another
ListInstances request to get the next group of results. Specify the value of
NextToken from the previous response in the next request.
public String getNextToken()
For the first ListInstances request, omit this value.
If more than MaxResults instances match the specified criteria, you can submit another
ListInstances request to get the next group of results. Specify the value of NextToken
from the previous response in the next request.
ListInstances request, omit this value.
If more than MaxResults instances match the specified criteria, you can submit another
ListInstances request to get the next group of results. Specify the value of
NextToken from the previous response in the next request.
public ListInstancesRequest withNextToken(String nextToken)
For the first ListInstances request, omit this value.
If more than MaxResults instances match the specified criteria, you can submit another
ListInstances request to get the next group of results. Specify the value of NextToken
from the previous response in the next request.
nextToken - For the first ListInstances request, omit this value.
If more than MaxResults instances match the specified criteria, you can submit another
ListInstances request to get the next group of results. Specify the value of
NextToken from the previous response in the next request.
public void setMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a ListInstances
request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.
maxResults - The maximum number of instances that you want Cloud Map to return in the response to a
ListInstances request. If you don't specify a value for MaxResults, Cloud Map
returns up to 100 instances.public Integer getMaxResults()
The maximum number of instances that you want Cloud Map to return in the response to a ListInstances
request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.
ListInstances request. If you don't specify a value for MaxResults, Cloud Map
returns up to 100 instances.public ListInstancesRequest withMaxResults(Integer maxResults)
The maximum number of instances that you want Cloud Map to return in the response to a ListInstances
request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.
maxResults - The maximum number of instances that you want Cloud Map to return in the response to a
ListInstances request. If you don't specify a value for MaxResults, Cloud Map
returns up to 100 instances.public String toString()
toString in class ObjectObject.toString()public ListInstancesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()