@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCapacityReservationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListCapacityReservationsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListCapacityReservationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Specifies the maximum number of results to return.
|
String |
getNextToken()
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specifies the maximum number of results to return.
|
void |
setNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
String |
toString()
Returns a string representation of this object.
|
ListCapacityReservationsRequest |
withMaxResults(Integer maxResults)
Specifies the maximum number of results to return.
|
ListCapacityReservationsRequest |
withNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
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 setNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.
nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request
was truncated.public String getNextToken()
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.
public ListCapacityReservationsRequest withNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.
nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request
was truncated.public void setMaxResults(Integer maxResults)
Specifies the maximum number of results to return.
maxResults - Specifies the maximum number of results to return.public Integer getMaxResults()
Specifies the maximum number of results to return.
public ListCapacityReservationsRequest withMaxResults(Integer maxResults)
Specifies the maximum number of results to return.
maxResults - Specifies the maximum number of results to return.public String toString()
toString in class ObjectObject.toString()public ListCapacityReservationsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()