Interface HostOffering.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<HostOffering.Builder,HostOffering>
,SdkBuilder<HostOffering.Builder,HostOffering>
,SdkPojo
- Enclosing class:
- HostOffering
public static interface HostOffering.Builder extends SdkPojo, CopyableBuilder<HostOffering.Builder,HostOffering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
currencyCode
HostOffering.Builder currencyCode(String currencyCode)
The currency of the offering.
- Parameters:
currencyCode
- The currency of the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCodeValues
,CurrencyCodeValues
-
currencyCode
HostOffering.Builder currencyCode(CurrencyCodeValues currencyCode)
The currency of the offering.
- Parameters:
currencyCode
- The currency of the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCodeValues
,CurrencyCodeValues
-
duration
HostOffering.Builder duration(Integer duration)
The duration of the offering (in seconds).
- Parameters:
duration
- The duration of the offering (in seconds).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hourlyPrice
HostOffering.Builder hourlyPrice(String hourlyPrice)
The hourly price of the offering.
- Parameters:
hourlyPrice
- The hourly price of the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamily
HostOffering.Builder instanceFamily(String instanceFamily)
The instance family of the offering.
- Parameters:
instanceFamily
- The instance family of the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringId
HostOffering.Builder offeringId(String offeringId)
The ID of the offering.
- Parameters:
offeringId
- The ID of the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
HostOffering.Builder paymentOption(String paymentOption)
The available payment option.
- Parameters:
paymentOption
- The available payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PaymentOption
,PaymentOption
-
paymentOption
HostOffering.Builder paymentOption(PaymentOption paymentOption)
The available payment option.
- Parameters:
paymentOption
- The available payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PaymentOption
,PaymentOption
-
upfrontPrice
HostOffering.Builder upfrontPrice(String upfrontPrice)
The upfront price of the offering. Does not apply to No Upfront offerings.
- Parameters:
upfrontPrice
- The upfront price of the offering. Does not apply to No Upfront offerings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-