CopyableBuilder<PriceScheduleSpecification.Builder,PriceScheduleSpecification>
, SdkBuilder<PriceScheduleSpecification.Builder,PriceScheduleSpecification>
public static interface PriceScheduleSpecification.Builder extends CopyableBuilder<PriceScheduleSpecification.Builder,PriceScheduleSpecification>
Modifier and Type | Method | Description |
---|---|---|
PriceScheduleSpecification.Builder |
currencyCode(String currencyCode) |
The currency for transacting the Reserved Instance resale.
|
PriceScheduleSpecification.Builder |
currencyCode(CurrencyCodeValues currencyCode) |
The currency for transacting the Reserved Instance resale.
|
PriceScheduleSpecification.Builder |
price(Double price) |
The fixed price for the term.
|
PriceScheduleSpecification.Builder |
term(Long term) |
The number of months remaining in the reservation.
|
copy
apply, build
PriceScheduleSpecification.Builder currencyCode(String currencyCode)
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is
USD
.
currencyCode
- The currency for transacting the Reserved Instance resale. At this time, the only supported currency
is USD
.CurrencyCodeValues
PriceScheduleSpecification.Builder currencyCode(CurrencyCodeValues currencyCode)
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is
USD
.
currencyCode
- The currency for transacting the Reserved Instance resale. At this time, the only supported currency
is USD
.CurrencyCodeValues
PriceScheduleSpecification.Builder price(Double price)
The fixed price for the term.
price
- The fixed price for the term.PriceScheduleSpecification.Builder term(Long term)
The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.
term
- The number of months remaining in the reservation. For example, 2 is the second to the last month
before the capacity reservation expires.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.