@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCapacityReservationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeCapacityReservationsRequest>
NOOP
Constructor and Description |
---|
DescribeCapacityReservationsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeCapacityReservationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCapacityReservationIds()
The ID of the Capacity Reservation.
|
Request<DescribeCapacityReservationsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
String |
getNextToken()
The token to retrieve the next page of results.
|
int |
hashCode() |
void |
setCapacityReservationIds(Collection<String> capacityReservationIds)
The ID of the Capacity Reservation.
|
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
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 retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCapacityReservationsRequest |
withCapacityReservationIds(Collection<String> capacityReservationIds)
The ID of the Capacity Reservation.
|
DescribeCapacityReservationsRequest |
withCapacityReservationIds(String... capacityReservationIds)
The ID of the Capacity Reservation.
|
DescribeCapacityReservationsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeCapacityReservationsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeCapacityReservationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
DescribeCapacityReservationsRequest |
withNextToken(String nextToken)
The token to retrieve the next page of results.
|
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 List<String> getCapacityReservationIds()
The ID of the Capacity Reservation.
public void setCapacityReservationIds(Collection<String> capacityReservationIds)
The ID of the Capacity Reservation.
capacityReservationIds
- The ID of the Capacity Reservation.public DescribeCapacityReservationsRequest withCapacityReservationIds(String... capacityReservationIds)
The ID of the Capacity Reservation.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityReservationIds(java.util.Collection)
or
withCapacityReservationIds(java.util.Collection)
if you want to override the existing values.
capacityReservationIds
- The ID of the Capacity Reservation.public DescribeCapacityReservationsRequest withCapacityReservationIds(Collection<String> capacityReservationIds)
The ID of the Capacity Reservation.
capacityReservationIds
- The ID of the Capacity Reservation.public void setNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public String getNextToken()
The token to retrieve the next page of results.
public DescribeCapacityReservationsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token 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.
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.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.
public DescribeCapacityReservationsRequest 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.
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.public void setFilters(Collection<Filter> filters)
One or more filters.
filters
- One or more filters.public DescribeCapacityReservationsRequest withFilters(Filter... filters)
One or more filters.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more filters.public DescribeCapacityReservationsRequest withFilters(Collection<Filter> filters)
One or more filters.
filters
- One or more filters.public Request<DescribeCapacityReservationsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeCapacityReservationsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeCapacityReservationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.