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
Modifier and TypeMethodDescriptionThe 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<SavingsPlanOfferingRateProperty> properties) The properties.properties(Consumer<SavingsPlanOfferingRateProperty.Builder>... properties) The properties.properties(SavingsPlanOfferingRateProperty... properties) The properties.The Savings Plan rate.default SavingsPlanOfferingRate.BuildersavingsPlanOffering(Consumer<ParentSavingsPlanOffering.Builder> savingsPlanOffering) The Savings Plan offering.savingsPlanOffering(ParentSavingsPlanOffering savingsPlanOffering) The Savings Plan offering.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-
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
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
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 toproperties(List<SavingsPlanOfferingRateProperty>).- 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:
-