Interface SavingsPlan.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlan.Builder,
,SavingsPlan> SdkBuilder<SavingsPlan.Builder,
,SavingsPlan> SdkPojo
- Enclosing class:
SavingsPlan
-
Method Summary
Modifier and TypeMethodDescriptioncommitment
(String commitment) The hourly commitment amount in the specified currency.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 Amazon Web Services Region.returnableUntil
(String returnableUntil) The time until when a return for the Savings Plan can be requested.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 current state.state
(SavingsPlanState state) The current 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 current state.
- Parameters:
state
- The current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state.
- Parameters:
state
- The current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The Amazon Web Services Region.
- Parameters:
region
- The Amazon Web Services 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 amount in the specified currency.
- Parameters:
commitment
- The hourly commitment amount in the specified currency.- 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.
-
returnableUntil
The time until when a return for the Savings Plan can be requested. If the Savings Plan is not returnable, the field reflects the Savings Plan start time.
- Parameters:
returnableUntil
- The time until when a return for the Savings Plan can be requested. If the Savings Plan is not returnable, the field reflects the Savings Plan start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-