public static interface HostOffering.Builder extends CopyableBuilder<HostOffering.Builder,HostOffering>
| Modifier and Type | Method and Description |
|---|---|
HostOffering.Builder |
currencyCode(CurrencyCodeValues currencyCode)
The currency of the offering.
|
HostOffering.Builder |
currencyCode(String 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(PaymentOption paymentOption)
The available payment option.
|
HostOffering.Builder |
paymentOption(String paymentOption)
The available payment option.
|
HostOffering.Builder |
upfrontPrice(String upfrontPrice)
The upfront price of the offering.
|
copyapply, buildHostOffering.Builder currencyCode(String currencyCode)
The currency of the offering.
currencyCode - The currency of the offering.CurrencyCodeValues,
CurrencyCodeValuesHostOffering.Builder currencyCode(CurrencyCodeValues currencyCode)
The currency of the offering.
currencyCode - The currency of the offering.CurrencyCodeValues,
CurrencyCodeValuesHostOffering.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,
PaymentOptionHostOffering.Builder paymentOption(PaymentOption paymentOption)
The available payment option.
paymentOption - The available payment option.PaymentOption,
PaymentOptionHostOffering.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.