Interface SavingsPlanOfferingRate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsPlanOfferingRate.Builder,SavingsPlanOfferingRate>,SdkBuilder<SavingsPlanOfferingRate.Builder,SavingsPlanOfferingRate>,SdkPojo
- Enclosing class:
- SavingsPlanOfferingRate
public static interface SavingsPlanOfferingRate.Builder extends SdkPojo, CopyableBuilder<SavingsPlanOfferingRate.Builder,SavingsPlanOfferingRate>
-
-
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
-
savingsPlanOffering
SavingsPlanOfferingRate.Builder savingsPlanOffering(ParentSavingsPlanOffering savingsPlanOffering)
The Savings Plan offering.
- Parameters:
savingsPlanOffering- The Savings Plan offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanOffering
default SavingsPlanOfferingRate.Builder savingsPlanOffering(Consumer<ParentSavingsPlanOffering.Builder> savingsPlanOffering)
The Savings Plan offering.
This is a convenience method that creates an instance of theParentSavingsPlanOffering.Builderavoiding the need to create one manually viaParentSavingsPlanOffering.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosavingsPlanOffering(ParentSavingsPlanOffering).- Parameters:
savingsPlanOffering- a consumer that will call methods onParentSavingsPlanOffering.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
savingsPlanOffering(ParentSavingsPlanOffering)
-
rate
SavingsPlanOfferingRate.Builder rate(String rate)
The Savings Plan rate.
- Parameters:
rate- The Savings Plan rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.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
SavingsPlanOfferingRate.Builder properties(Collection<SavingsPlanOfferingRateProperty> properties)
The properties.
- Parameters:
properties- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
SavingsPlanOfferingRate.Builder properties(SavingsPlanOfferingRateProperty... properties)
The properties.
- Parameters:
properties- The properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
SavingsPlanOfferingRate.Builder properties(Consumer<SavingsPlanOfferingRateProperty.Builder>... properties)
The properties.
This is a convenience method that creates an instance of theSavingsPlanOfferingRateProperty.Builderavoiding the need to create one manually viaSavingsPlanOfferingRateProperty.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 onSavingsPlanOfferingRateProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#properties(java.util.Collection)
-
-