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
Modifier and TypeMethodDescriptionThe currency.currency
(CurrencyCode currency) The currency.description
(String description) The description.durationSeconds
(Long durationSeconds) The duration, in seconds.offeringId
(String offeringId) The ID of the offering.The specific Amazon Web Services operation for the line item in the billing report.paymentOption
(String paymentOption) The payment option.paymentOption
(SavingsPlanPaymentOption paymentOption) The payment option.The plan type.planType
(SavingsPlanType planType) The plan type.productTypes
(Collection<SavingsPlanProductType> productTypes) The product type.productTypes
(SavingsPlanProductType... productTypes) The product type.productTypesWithStrings
(String... productTypes) The product type.productTypesWithStrings
(Collection<String> productTypes) The product type.properties
(Collection<SavingsPlanOfferingProperty> properties) The properties.properties
(Consumer<SavingsPlanOfferingProperty.Builder>... properties) The properties.properties
(SavingsPlanOfferingProperty... properties) The properties.serviceCode
(String serviceCode) The service.The usage details of the line item in the billing report.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
-
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
The product type.
- Parameters:
productTypes
- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productTypesWithStrings
The product type.
- Parameters:
productTypes
- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The product type.
- Parameters:
productTypes
- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-
description
The description.
- Parameters:
description
- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-
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
The currency.
- Parameters:
currency
- The currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The currency.
- Parameters:
currency
- The currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceCode
The service.
- Parameters:
serviceCode
- The service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The properties.
- Parameters:
properties
- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties.
- Parameters:
properties
- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties.
This is a convenience method that creates an instance of theSavingsPlanOfferingProperty.Builder
avoiding the need to create one manually viaSavingsPlanOfferingProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproperties(List<SavingsPlanOfferingProperty>)
.- 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:
-