public static interface DescribeHostReservationOfferingsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeHostReservationOfferingsRequest.Builder,DescribeHostReservationOfferingsRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeHostReservationOfferingsRequest.Builder filter(Collection<Filter> filter)
The filters.
instance-family
- The instance family of the offering (for example, m4
).
payment-option
- The payment option (NoUpfront
| PartialUpfront
|
AllUpfront
).
filter
- The filters.
instance-family
- The instance family of the offering (for example, m4
).
payment-option
- The payment option (NoUpfront
| PartialUpfront
| AllUpfront
).
DescribeHostReservationOfferingsRequest.Builder filter(Filter... filter)
The filters.
instance-family
- The instance family of the offering (for example, m4
).
payment-option
- The payment option (NoUpfront
| PartialUpfront
|
AllUpfront
).
filter
- The filters.
instance-family
- The instance family of the offering (for example, m4
).
payment-option
- The payment option (NoUpfront
| PartialUpfront
| AllUpfront
).
DescribeHostReservationOfferingsRequest.Builder filter(Consumer<Filter.Builder>... filter)
The filters.
instance-family
- The instance family of the offering (for example, m4
).
payment-option
- The payment option (NoUpfront
| PartialUpfront
|
AllUpfront
).
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)
DescribeHostReservationOfferingsRequest.Builder maxDuration(Integer maxDuration)
This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.
maxDuration
- This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are
available in one-year and three-year terms. The number of seconds specified must be the number of
seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify
94608000 for three years.DescribeHostReservationOfferingsRequest.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.DescribeHostReservationOfferingsRequest.Builder minDuration(Integer minDuration)
This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.
minDuration
- This is the minimum duration of the reservation you'd like to purchase, specified in seconds.
Reservations are available in one-year and three-year terms. The number of seconds specified must be
the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For
example, specify 31536000 for one year.DescribeHostReservationOfferingsRequest.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.DescribeHostReservationOfferingsRequest.Builder offeringId(String offeringId)
The ID of the reservation offering.
offeringId
- The ID of the reservation offering.DescribeHostReservationOfferingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DescribeHostReservationOfferingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.