@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListElasticsearchVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the ListElasticsearchVersions
operation.
Use MaxResults
to control the maximum number of results to retrieve in a single call.
Use NextToken
in response to retrieve more results. If the received response does not contain a
NextToken, then there are no more results to retrieve.
NOOP
Constructor and Description |
---|
ListElasticsearchVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListElasticsearchVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Set this value to limit the number of results returned.
|
String |
getNextToken() |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Set this value to limit the number of results returned.
|
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object.
|
ListElasticsearchVersionsRequest |
withMaxResults(Integer maxResults)
Set this value to limit the number of results returned.
|
ListElasticsearchVersionsRequest |
withNextToken(String nextToken) |
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)
Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.
maxResults
- Set this value to limit the number of results returned. Value provided must be greater than 10 else it
wont be honored.public Integer getMaxResults()
Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.
public ListElasticsearchVersionsRequest withMaxResults(Integer maxResults)
Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.
maxResults
- Set this value to limit the number of results returned. Value provided must be greater than 10 else it
wont be honored.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListElasticsearchVersionsRequest withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public ListElasticsearchVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()