@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 results to display for the instance.
|
String |
getNextToken()
The pagination token for the list API.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to display for the instance.
|
void |
setNextToken(String nextToken)
The pagination token for the list API.
|
String |
toString()
Returns a string representation of this object.
|
ListInstancesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to display for the instance.
|
ListInstancesRequest |
withNextToken(String nextToken)
The pagination token for the list API.
|
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, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of results to display for the instance.
maxResults
- The maximum number of results to display for the instance.public Integer getMaxResults()
The maximum number of results to display for the instance.
public ListInstancesRequest withMaxResults(Integer maxResults)
The maximum number of results to display for the instance.
maxResults
- The maximum number of results to display for the instance.public void setNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public String getNextToken()
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
public ListInstancesRequest withNextToken(String nextToken)
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
nextToken
- The pagination token for the list API. Initially the value is null. Use the output of previous API calls
to make subsequent calls.public String toString()
toString
in class Object
Object.toString()
public ListInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()