CopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>, SdkBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>public static interface DescribeHostReservationsRequest.Builder extends CopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>
| Modifier and Type | Method | Description |
|---|---|---|
DescribeHostReservationsRequest.Builder |
filter(Collection<Filter> filter) |
One or more filters.
|
DescribeHostReservationsRequest.Builder |
filter(Filter... filter) |
One or more filters.
|
DescribeHostReservationsRequest.Builder |
hostReservationIdSet(String... hostReservationIdSet) |
One or more host reservation IDs.
|
DescribeHostReservationsRequest.Builder |
hostReservationIdSet(Collection<String> hostReservationIdSet) |
One or more host reservation IDs.
|
DescribeHostReservationsRequest.Builder |
maxResults(Integer maxResults) |
The maximum number of results to return for the request in a single page.
|
DescribeHostReservationsRequest.Builder |
nextToken(String nextToken) |
The token to use to retrieve the next page of results.
|
copyapply, buildDescribeHostReservationsRequest.Builder filter(Collection<Filter> filter)
One or more filters.
instance-family - The instance family (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront |
AllUpfront).
state - The state of the reservation (payment-pending | payment-failed
| active | retired).
filter - One or more filters.
instance-family - The instance family (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront
| AllUpfront).
state - The state of the reservation (payment-pending |
payment-failed | active | retired).
DescribeHostReservationsRequest.Builder filter(Filter... filter)
One or more filters.
instance-family - The instance family (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront |
AllUpfront).
state - The state of the reservation (payment-pending | payment-failed
| active | retired).
NOTE: This method appends the values to the existing list (if any). Use
#setFilter(java.util.Collection) or #withFilter(java.util.Collection) if you want to override
the existing values.
filter - One or more filters.
instance-family - The instance family (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront
| AllUpfront).
state - The state of the reservation (payment-pending |
payment-failed | active | retired).
DescribeHostReservationsRequest.Builder hostReservationIdSet(Collection<String> hostReservationIdSet)
One or more host reservation IDs.
hostReservationIdSet - One or more host reservation IDs.DescribeHostReservationsRequest.Builder hostReservationIdSet(String... hostReservationIdSet)
One or more host reservation IDs.
NOTE: This method appends the values to the existing list (if any). Use
#setHostReservationIdSet(java.util.Collection) or
#withHostReservationIdSet(java.util.Collection) if you want to override the existing values.
hostReservationIdSet - One or more host reservation IDs.DescribeHostReservationsRequest.Builder maxResults(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 will receive an error.
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 will receive an
error.DescribeHostReservationsRequest.Builder nextToken(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.