public static interface DescribeHostReservationsRequest.Builder extends EC2Request.Builder, CopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>
buildrequestOverrideConfigcopyapply, 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).
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.DescribeHostReservationsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.