Interface BillEstimateCommitmentSummary.Builder

  • Method Details

    • id

      The unique identifier of the commitment.

      Parameters:
      id - The unique identifier of the commitment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • purchaseAgreementType

      BillEstimateCommitmentSummary.Builder purchaseAgreementType(String purchaseAgreementType)

      The type of purchase agreement (e.g., Reserved Instance, Savings Plan).

      Parameters:
      purchaseAgreementType - The type of purchase agreement (e.g., Reserved Instance, Savings Plan).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • purchaseAgreementType

      BillEstimateCommitmentSummary.Builder purchaseAgreementType(PurchaseAgreementType purchaseAgreementType)

      The type of purchase agreement (e.g., Reserved Instance, Savings Plan).

      Parameters:
      purchaseAgreementType - The type of purchase agreement (e.g., Reserved Instance, Savings Plan).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • offeringId

      The identifier of the specific offering associated with this commitment.

      Parameters:
      offeringId - The identifier of the specific offering associated with this commitment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageAccountId

      BillEstimateCommitmentSummary.Builder usageAccountId(String usageAccountId)

      The Amazon Web Services account ID associated with this commitment.

      Parameters:
      usageAccountId - The Amazon Web Services account ID associated with this commitment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The Amazon Web Services region associated with this commitment.

      Parameters:
      region - The Amazon Web Services region associated with this commitment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • termLength

      The length of the commitment term.

      Parameters:
      termLength - The length of the commitment term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentOption

      BillEstimateCommitmentSummary.Builder paymentOption(String paymentOption)

      The payment option chosen for this commitment (e.g., All Upfront, Partial Upfront, No Upfront).

      Parameters:
      paymentOption - The payment option chosen for this commitment (e.g., All Upfront, Partial Upfront, No Upfront).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontPayment

      BillEstimateCommitmentSummary.Builder upfrontPayment(CostAmount upfrontPayment)

      The upfront payment amount for this commitment, if applicable.

      Parameters:
      upfrontPayment - The upfront payment amount for this commitment, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontPayment

      default BillEstimateCommitmentSummary.Builder upfrontPayment(Consumer<CostAmount.Builder> upfrontPayment)

      The upfront payment amount for this commitment, if applicable.

      This is a convenience method that creates an instance of the CostAmount.Builder avoiding the need to create one manually via CostAmount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to upfrontPayment(CostAmount).

      Parameters:
      upfrontPayment - a consumer that will call methods on CostAmount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • monthlyPayment

      BillEstimateCommitmentSummary.Builder monthlyPayment(CostAmount monthlyPayment)

      The monthly payment amount for this commitment, if applicable.

      Parameters:
      monthlyPayment - The monthly payment amount for this commitment, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monthlyPayment

      default BillEstimateCommitmentSummary.Builder monthlyPayment(Consumer<CostAmount.Builder> monthlyPayment)

      The monthly payment amount for this commitment, if applicable.

      This is a convenience method that creates an instance of the CostAmount.Builder avoiding the need to create one manually via CostAmount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to monthlyPayment(CostAmount).

      Parameters:
      monthlyPayment - a consumer that will call methods on CostAmount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: