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 Details

    • 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 the savingsPlanOfferingId. 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 is Partial 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

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.