public static interface DescribeHostReservationsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeHostReservationsRequest.Builder,DescribeHostReservationsRequest>
buildoverrideConfigurationcopyapplyMutation, buildDescribeHostReservationsRequest.Builder filter(Collection<Filter> filter)
One or more filters.
instance-family - The instance family (for example, 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 (for example, 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 (for example, 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 (for example, 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 (for example, 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 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 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.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DescribeHostReservationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.