CopyableBuilder<HostOffering.Builder,HostOffering>
, SdkBuilder<HostOffering.Builder,HostOffering>
public static interface HostOffering.Builder extends CopyableBuilder<HostOffering.Builder,HostOffering>
Modifier and Type | Method | Description |
---|---|---|
HostOffering.Builder |
currencyCode(String currencyCode) |
The currency of the offering.
|
HostOffering.Builder |
currencyCode(CurrencyCodeValues currencyCode) |
The currency of the offering.
|
HostOffering.Builder |
duration(Integer duration) |
The duration of the offering (in seconds).
|
HostOffering.Builder |
hourlyPrice(String hourlyPrice) |
The hourly price of the offering.
|
HostOffering.Builder |
instanceFamily(String instanceFamily) |
The instance family of the offering.
|
HostOffering.Builder |
offeringId(String offeringId) |
The ID of the offering.
|
HostOffering.Builder |
paymentOption(String paymentOption) |
The available payment option.
|
HostOffering.Builder |
paymentOption(PaymentOption paymentOption) |
The available payment option.
|
HostOffering.Builder |
upfrontPrice(String upfrontPrice) |
The upfront price of the offering.
|
copy
apply, build
HostOffering.Builder currencyCode(String currencyCode)
The currency of the offering.
currencyCode
- The currency of the offering.CurrencyCodeValues
HostOffering.Builder currencyCode(CurrencyCodeValues currencyCode)
The currency of the offering.
currencyCode
- The currency of the offering.CurrencyCodeValues
HostOffering.Builder duration(Integer duration)
The duration of the offering (in seconds).
duration
- The duration of the offering (in seconds).HostOffering.Builder hourlyPrice(String hourlyPrice)
The hourly price of the offering.
hourlyPrice
- The hourly price of the offering.HostOffering.Builder instanceFamily(String instanceFamily)
The instance family of the offering.
instanceFamily
- The instance family of the offering.HostOffering.Builder offeringId(String offeringId)
The ID of the offering.
offeringId
- The ID of the offering.HostOffering.Builder paymentOption(String paymentOption)
The available payment option.
paymentOption
- The available payment option.PaymentOption
HostOffering.Builder paymentOption(PaymentOption paymentOption)
The available payment option.
paymentOption
- The available payment option.PaymentOption
HostOffering.Builder upfrontPrice(String upfrontPrice)
The upfront price of the offering. Does not apply to No Upfront offerings.
upfrontPrice
- The upfront price of the offering. Does not apply to No Upfront offerings.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.