@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCapacityReservationUsageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<GetCapacityReservationUsageRequest>
NOOP
Constructor and Description |
---|
GetCapacityReservationUsageRequest() |
Modifier and Type | Method and Description |
---|---|
GetCapacityReservationUsageRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCapacityReservationId()
The ID of the Capacity Reservation.
|
Request<GetCapacityReservationUsageRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetCapacityReservationUsageRequest |
withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
|
GetCapacityReservationUsageRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
GetCapacityReservationUsageRequest |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
addHandlerContext, copyBaseTo, 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 setCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public String getCapacityReservationId()
The ID of the Capacity Reservation.
public GetCapacityReservationUsageRequest withCapacityReservationId(String capacityReservationId)
The ID of the Capacity Reservation.
capacityReservationId
- The ID of the Capacity Reservation.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public GetCapacityReservationUsageRequest withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
Valid range: Minimum value of 1. Maximum value of 1000.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.
Valid range: Minimum value of 1. Maximum value of 1000.
public Integer getMaxResults()
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
Valid range: Minimum value of 1. Maximum value of 1000.
nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.
Valid range: Minimum value of 1. Maximum value of 1000.
public GetCapacityReservationUsageRequest withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
Valid range: Minimum value of 1. Maximum value of 1000.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.
Valid range: Minimum value of 1. Maximum value of 1000.
public Request<GetCapacityReservationUsageRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<GetCapacityReservationUsageRequest>
public String toString()
toString
in class Object
Object.toString()
public GetCapacityReservationUsageRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2022. All rights reserved.