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
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency of the offering.currencyCode
(CurrencyCodeValues currencyCode) The currency of the offering.The duration of the offering (in seconds).hourlyPrice
(String hourlyPrice) The hourly price of the offering.instanceFamily
(String instanceFamily) The instance family of the offering.offeringId
(String offeringId) The ID of the offering.paymentOption
(String paymentOption) The available payment option.paymentOption
(PaymentOption paymentOption) The available payment option.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 Details
-
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:
-
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:
-
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
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
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
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
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
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:
-
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.
-