Interface SavingsPlanOffering.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsPlanOffering.Builder,SavingsPlanOffering>,SdkBuilder<SavingsPlanOffering.Builder,SavingsPlanOffering>,SdkPojo
- Enclosing class:
- SavingsPlanOffering
public static interface SavingsPlanOffering.Builder extends SdkPojo, CopyableBuilder<SavingsPlanOffering.Builder,SavingsPlanOffering>
-
-
Method Summary
-
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
-
offeringId
SavingsPlanOffering.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.
-
productTypesWithStrings
SavingsPlanOffering.Builder productTypesWithStrings(Collection<String> productTypes)
The product type.
- Parameters:
productTypes- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productTypesWithStrings
SavingsPlanOffering.Builder productTypesWithStrings(String... productTypes)
The product type.
- Parameters:
productTypes- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productTypes
SavingsPlanOffering.Builder productTypes(Collection<SavingsPlanProductType> productTypes)
The product type.
- Parameters:
productTypes- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productTypes
SavingsPlanOffering.Builder productTypes(SavingsPlanProductType... productTypes)
The product type.
- Parameters:
productTypes- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planType
SavingsPlanOffering.Builder planType(String planType)
The plan type.
- Parameters:
planType- The plan type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SavingsPlanType,SavingsPlanType
-
planType
SavingsPlanOffering.Builder planType(SavingsPlanType planType)
The plan type.
- Parameters:
planType- The plan type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SavingsPlanType,SavingsPlanType
-
description
SavingsPlanOffering.Builder description(String description)
The description.
- Parameters:
description- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
SavingsPlanOffering.Builder paymentOption(String paymentOption)
The payment option.
- Parameters:
paymentOption- The payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SavingsPlanPaymentOption,SavingsPlanPaymentOption
-
paymentOption
SavingsPlanOffering.Builder paymentOption(SavingsPlanPaymentOption paymentOption)
The payment option.
- Parameters:
paymentOption- The payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SavingsPlanPaymentOption,SavingsPlanPaymentOption
-
durationSeconds
SavingsPlanOffering.Builder durationSeconds(Long durationSeconds)
The duration, in seconds.
- Parameters:
durationSeconds- The duration, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
SavingsPlanOffering.Builder currency(String currency)
The currency.
- Parameters:
currency- The currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
currency
SavingsPlanOffering.Builder currency(CurrencyCode currency)
The currency.
- Parameters:
currency- The currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
serviceCode
SavingsPlanOffering.Builder serviceCode(String serviceCode)
The service.
- Parameters:
serviceCode- The service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
SavingsPlanOffering.Builder usageType(String usageType)
The usage details of the line item in the billing report.
- Parameters:
usageType- The usage details of the line item in the billing report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
SavingsPlanOffering.Builder operation(String operation)
The specific Amazon Web Services operation for the line item in the billing report.
- Parameters:
operation- The specific Amazon Web Services operation for the line item in the billing report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
SavingsPlanOffering.Builder properties(Collection<SavingsPlanOfferingProperty> properties)
The properties.
- Parameters:
properties- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
SavingsPlanOffering.Builder properties(SavingsPlanOfferingProperty... properties)
The properties.
- Parameters:
properties- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
SavingsPlanOffering.Builder properties(Consumer<SavingsPlanOfferingProperty.Builder>... properties)
The properties.
This is a convenience method that creates an instance of theSavingsPlanOfferingProperty.Builderavoiding the need to create one manually viaSavingsPlanOfferingProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#properties(List.) - Parameters:
properties- a consumer that will call methods onSavingsPlanOfferingProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#properties(java.util.Collection)
-
-