Interface CreateSavingsPlanRequest.Builder

    • 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 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 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.