@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the request parameters to the ListVersions
operation.
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()
An optional parameter that specifies the maximum number of results to return.
|
String |
getNextToken()
If your initial
ListVersions operation returns a nextToken , you can include the
returned nextToken in subsequent ListVersions operations, which returns results in the
next page. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
void |
setNextToken(String nextToken)
If your initial
ListVersions operation returns a nextToken , you can include the
returned nextToken in subsequent ListVersions operations, which returns results in the
next page. |
String |
toString()
Returns a string representation of this object.
|
ListVersionsRequest |
withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
ListVersionsRequest |
withNextToken(String nextToken)
If your initial
ListVersions operation returns a nextToken , you can include the
returned nextToken in subsequent ListVersions operations, which returns results in the
next page. |
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)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to get the next page of results.public Integer getMaxResults()
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results.
nextToken
to get the next page of results.public ListVersionsRequest withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to get the next page of results.public void setNextToken(String nextToken)
If your initial ListVersions
operation returns a nextToken
, you can include the
returned nextToken
in subsequent ListVersions
operations, which returns results in the
next page.
nextToken
- If your initial ListVersions
operation returns a nextToken
, you can include the
returned nextToken
in subsequent ListVersions
operations, which returns results
in the next page.public String getNextToken()
If your initial ListVersions
operation returns a nextToken
, you can include the
returned nextToken
in subsequent ListVersions
operations, which returns results in the
next page.
ListVersions
operation returns a nextToken
, you can include the
returned nextToken
in subsequent ListVersions
operations, which returns results
in the next page.public ListVersionsRequest withNextToken(String nextToken)
If your initial ListVersions
operation returns a nextToken
, you can include the
returned nextToken
in subsequent ListVersions
operations, which returns results in the
next page.
nextToken
- If your initial ListVersions
operation returns a nextToken
, you can include the
returned nextToken
in subsequent ListVersions
operations, which returns results
in the next page.public String toString()
toString
in class Object
Object.toString()
public ListVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()