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
-
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 USD. 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 USD. 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 supported only 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 supported only 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 time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
purchaseTime- The time at which to purchase 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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- 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
-
-