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
-
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
-
rate
SavingsPlanRate.Builder rate(String rate)
The rate.
- Parameters:
rate- The rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
SavingsPlanRate.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
SavingsPlanRate.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
-
unit
SavingsPlanRate.Builder unit(String unit)
The unit.
- Parameters:
unit- The unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SavingsPlanRateUnit,SavingsPlanRateUnit
-
unit
SavingsPlanRate.Builder unit(SavingsPlanRateUnit unit)
The unit.
- Parameters:
unit- The unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SavingsPlanRateUnit,SavingsPlanRateUnit
-
productType
SavingsPlanRate.Builder productType(String 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:
SavingsPlanProductType,SavingsPlanProductType
-
productType
SavingsPlanRate.Builder productType(SavingsPlanProductType 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:
SavingsPlanProductType,SavingsPlanProductType
-
serviceCode
SavingsPlanRate.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.
- See Also:
SavingsPlanRateServiceCode,SavingsPlanRateServiceCode
-
serviceCode
SavingsPlanRate.Builder serviceCode(SavingsPlanRateServiceCode serviceCode)
The service.
- Parameters:
serviceCode- The service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SavingsPlanRateServiceCode,SavingsPlanRateServiceCode
-
usageType
SavingsPlanRate.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
SavingsPlanRate.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
SavingsPlanRate.Builder properties(Collection<SavingsPlanRateProperty> properties)
The properties.
- Parameters:
properties- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
SavingsPlanRate.Builder properties(SavingsPlanRateProperty... properties)
The properties.
- Parameters:
properties- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
SavingsPlanRate.Builder properties(Consumer<SavingsPlanRateProperty.Builder>... properties)
The properties.
This is a convenience method that creates an instance of theSavingsPlanRateProperty.Builderavoiding the need to create one manually viaSavingsPlanRateProperty.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 onSavingsPlanRateProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#properties(java.util.Collection)
-
-