@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the ListVersions
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, there are no more results to retrieve.
NOOP
Constructor and Description |
---|
ListVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListVersionsRequest |
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.
|
ListVersionsRequest |
withMaxResults(Integer maxResults)
Set this value to limit the number of results returned.
|
ListVersionsRequest |
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 must be greater than 10 or it won't be honored.
maxResults
- Set this value to limit the number of results returned. Value must be greater than 10 or it won't be
honored.public Integer getMaxResults()
Set this value to limit the number of results returned. Value must be greater than 10 or it won't be honored.
public ListVersionsRequest withMaxResults(Integer maxResults)
Set this value to limit the number of results returned. Value must be greater than 10 or it won't be honored.
maxResults
- Set this value to limit the number of results returned. Value must be greater than 10 or it won't be
honored.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListVersionsRequest withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public ListVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()