Interface CreateSavingsPlanRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSavingsPlanRequest.Builder,CreateSavingsPlanRequest>,SavingsplansRequest.Builder,SdkBuilder<CreateSavingsPlanRequest.Builder,CreateSavingsPlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSavingsPlanRequest
public static interface CreateSavingsPlanRequest.Builder extends SavingsplansRequest.Builder, SdkPojo, CopyableBuilder<CreateSavingsPlanRequest.Builder,CreateSavingsPlanRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSavingsPlanRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateSavingsPlanRequest.Buildercommitment(String commitment)The hourly commitment, in the same currency of thesavingsPlanOfferingId.CreateSavingsPlanRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSavingsPlanRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSavingsPlanRequest.BuilderpurchaseTime(Instant purchaseTime)The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).CreateSavingsPlanRequest.BuildersavingsPlanOfferingId(String savingsPlanOfferingId)The ID of the offering.CreateSavingsPlanRequest.Buildertags(Map<String,String> tags)One or more tags.CreateSavingsPlanRequest.BuilderupfrontPaymentAmount(String upfrontPaymentAmount)The up-front payment amount.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.savingsplans.model.SavingsplansRequest.Builder
build
-
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
-
savingsPlanOfferingId
CreateSavingsPlanRequest.Builder savingsPlanOfferingId(String savingsPlanOfferingId)
The ID of the offering.
- Parameters:
savingsPlanOfferingId- The ID of the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitment
CreateSavingsPlanRequest.Builder commitment(String commitment)
The hourly commitment, in the same currency of the
savingsPlanOfferingId. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.- Parameters:
commitment- The hourly commitment, in the same currency of thesavingsPlanOfferingId. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontPaymentAmount
CreateSavingsPlanRequest.Builder upfrontPaymentAmount(String upfrontPaymentAmount)
The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is only supported if the payment option is
Partial Upfront.- Parameters:
upfrontPaymentAmount- The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is only supported if the payment option isPartial Upfront.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
purchaseTime
CreateSavingsPlanRequest.Builder purchaseTime(Instant purchaseTime)
The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
purchaseTime- The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateSavingsPlanRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateSavingsPlanRequest.Builder tags(Map<String,String> 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.
-
overrideConfiguration
CreateSavingsPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSavingsPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-