Interface SavingsPlan.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlan.Builder,
,SavingsPlan> SdkBuilder<SavingsPlan.Builder,
,SavingsPlan> SdkPojo
- Enclosing class:
SavingsPlan
public static interface SavingsPlan.Builder
extends SdkPojo, CopyableBuilder<SavingsPlan.Builder,SavingsPlan>
-
Method Summary
Modifier and TypeMethodDescriptioncommitment
(String commitment) The hourly commitment, in USD.The currency.currency
(CurrencyCode currency) The currency.description
(String description) The description.ec2InstanceFamily
(String ec2InstanceFamily) The EC2 instance family.The end time.offeringId
(String offeringId) The ID of the offering.paymentOption
(String paymentOption) The payment option.paymentOption
(SavingsPlanPaymentOption paymentOption) The payment option.productTypes
(Collection<SavingsPlanProductType> productTypes) The product types.productTypes
(SavingsPlanProductType... productTypes) The product types.productTypesWithStrings
(String... productTypes) The product types.productTypesWithStrings
(Collection<String> productTypes) The product types.recurringPaymentAmount
(String recurringPaymentAmount) The recurring payment amount.The AWS Region.savingsPlanArn
(String savingsPlanArn) The Amazon Resource Name (ARN) of the Savings Plan.savingsPlanId
(String savingsPlanId) The ID of the Savings Plan.savingsPlanType
(String savingsPlanType) The plan type.savingsPlanType
(SavingsPlanType savingsPlanType) The plan type.The start time.The state.state
(SavingsPlanState state) The state.One or more tags.termDurationInSeconds
(Long termDurationInSeconds) The duration of the term, in seconds.upfrontPaymentAmount
(String upfrontPaymentAmount) The up-front payment amount.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.
-
savingsPlanId
The ID of the Savings Plan.
- Parameters:
savingsPlanId
- The ID of the Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanArn
The Amazon Resource Name (ARN) of the Savings Plan.
- Parameters:
savingsPlanArn
- The Amazon Resource Name (ARN) of the Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description.
- Parameters:
description
- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
start
The start time.
- Parameters:
start
- The start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
The end time.
- Parameters:
end
- The end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state.
- Parameters:
state
- The state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state.
- Parameters:
state
- The state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The AWS Region.
- Parameters:
region
- The AWS Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceFamily
The EC2 instance family.
- Parameters:
ec2InstanceFamily
- The EC2 instance family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanType
The plan type.
- Parameters:
savingsPlanType
- The plan type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlanType
The plan type.
- Parameters:
savingsPlanType
- The plan type.- 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:
-
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:
-
productTypesWithStrings
The product types.
- Parameters:
productTypes
- The product types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productTypesWithStrings
The product types.
- Parameters:
productTypes
- The product types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productTypes
The product types.
- Parameters:
productTypes
- The product types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productTypes
The product types.
- Parameters:
productTypes
- The product types.- 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:
-
commitment
The hourly commitment, in USD.
- Parameters:
commitment
- The hourly commitment, in USD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontPaymentAmount
The up-front payment amount.
- Parameters:
upfrontPaymentAmount
- The up-front payment amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringPaymentAmount
The recurring payment amount.
- Parameters:
recurringPaymentAmount
- The recurring payment amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termDurationInSeconds
The duration of the term, in seconds.
- Parameters:
termDurationInSeconds
- The duration of the term, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more tags.
- Parameters:
tags
- One or more tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-