public static interface DescribeHostReservationsRequest.Builder extends Ec2Request.Builder, CopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>
build
overrideConfiguration
copy
applyMutation, 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 filter(Consumer<Filter.Builder>... 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
).
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filter(List)
.filter
- a consumer that will call methods on List.Builder
#filter(List)
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeHostReservationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.