CopyableBuilder<DescribeHostReservationOfferingsRequest.Builder,DescribeHostReservationOfferingsRequest>, SdkBuilder<DescribeHostReservationOfferingsRequest.Builder,DescribeHostReservationOfferingsRequest>public static interface DescribeHostReservationOfferingsRequest.Builder extends CopyableBuilder<DescribeHostReservationOfferingsRequest.Builder,DescribeHostReservationOfferingsRequest>
| Modifier and Type | Method | Description |
|---|---|---|
DescribeHostReservationOfferingsRequest.Builder |
filter(Collection<Filter> filter) |
One or more filters.
|
DescribeHostReservationOfferingsRequest.Builder |
filter(Filter... filter) |
One or more filters.
|
DescribeHostReservationOfferingsRequest.Builder |
maxDuration(Integer maxDuration) |
This is the maximum duration of the reservation you'd like to purchase, specified in seconds.
|
DescribeHostReservationOfferingsRequest.Builder |
maxResults(Integer maxResults) |
The maximum number of results to return for the request in a single page.
|
DescribeHostReservationOfferingsRequest.Builder |
minDuration(Integer minDuration) |
This is the minimum duration of the reservation you'd like to purchase, specified in seconds.
|
DescribeHostReservationOfferingsRequest.Builder |
nextToken(String nextToken) |
The token to use to retrieve the next page of results.
|
DescribeHostReservationOfferingsRequest.Builder |
offeringId(String offeringId) |
The ID of the reservation offering.
|
copyapply, buildDescribeHostReservationOfferingsRequest.Builder filter(Collection<Filter> filter)
One or more filters.
instance-family - The instance family of the offering (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront |
AllUpfront).
filter - One or more filters.
instance-family - The instance family of the offering (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront
| AllUpfront).
DescribeHostReservationOfferingsRequest.Builder filter(Filter... filter)
One or more filters.
instance-family - The instance family of the offering (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront |
AllUpfront).
NOTE: This method appends the values to the existing list (if any). Use
#setFilter(java.util.Collection) or #withFilter(java.util.Collection) if you want to override
the existing values.
filter - One or more filters.
instance-family - The instance family of the offering (e.g., m4).
payment-option - The payment option (NoUpfront | PartialUpfront
| AllUpfront).
DescribeHostReservationOfferingsRequest.Builder maxDuration(Integer maxDuration)
This is the maximum 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 94608000 for three years.
maxDuration - This is the maximum 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 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 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.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.