Interface SavingsPlanRate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlanRate.Builder,
,SavingsPlanRate> SdkBuilder<SavingsPlanRate.Builder,
,SavingsPlanRate> SdkPojo
- Enclosing class:
SavingsPlanRate
public static interface SavingsPlanRate.Builder
extends SdkPojo, CopyableBuilder<SavingsPlanRate.Builder,SavingsPlanRate>
-
Method Summary
Modifier and TypeMethodDescriptionThe currency.currency
(CurrencyCode currency) The currency.The specific Amazon Web Services operation for the line item in the billing report.productType
(String productType) The product type.productType
(SavingsPlanProductType productType) The product type.properties
(Collection<SavingsPlanRateProperty> properties) The properties.properties
(Consumer<SavingsPlanRateProperty.Builder>... properties) The properties.properties
(SavingsPlanRateProperty... properties) The properties.The rate.serviceCode
(String serviceCode) The service.serviceCode
(SavingsPlanRateServiceCode serviceCode) The service.The unit.unit
(SavingsPlanRateUnit unit) The unit.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
-
rate
The rate.
- Parameters:
rate
- The rate.- 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:
-
unit
The unit.
- Parameters:
unit
- The unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
The unit.
- Parameters:
unit
- The unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productType
The product type.
- Parameters:
productType
- The product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productType
The product type.
- Parameters:
productType
- The product type.- 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.
- See Also:
-
serviceCode
The service.
- Parameters:
serviceCode
- The service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theSavingsPlanRateProperty.Builder
avoiding the need to create one manually viaSavingsPlanRateProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproperties(List<SavingsPlanRateProperty>)
.- Parameters:
properties
- a consumer that will call methods onSavingsPlanRateProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-