public static interface DescribeHostReservationsRequest.Builder extends EC2Request.Builder, CopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>
Modifier and Type | Method and Description |
---|---|
DescribeHostReservationsRequest.Builder |
filter(Collection<Filter> filter)
One or more filters.
|
DescribeHostReservationsRequest.Builder |
filter(Filter... filter)
One or more filters.
|
DescribeHostReservationsRequest.Builder |
hostReservationIdSet(Collection<String> hostReservationIdSet)
One or more host reservation IDs.
|
DescribeHostReservationsRequest.Builder |
hostReservationIdSet(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.
|
DescribeHostReservationsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
DescribeHostReservationsRequest.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
).
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.
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.DescribeHostReservationsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.