Interface BillEstimateCommitmentSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BillEstimateCommitmentSummary.Builder,
,BillEstimateCommitmentSummary> SdkBuilder<BillEstimateCommitmentSummary.Builder,
,BillEstimateCommitmentSummary> SdkPojo
- Enclosing class:
BillEstimateCommitmentSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the commitment.monthlyPayment
(Consumer<CostAmount.Builder> monthlyPayment) The monthly payment amount for this commitment, if applicable.monthlyPayment
(CostAmount monthlyPayment) The monthly payment amount for this commitment, if applicable.offeringId
(String offeringId) The identifier of the specific offering associated with this commitment.paymentOption
(String paymentOption) The payment option chosen for this commitment (e.g., All Upfront, Partial Upfront, No Upfront).purchaseAgreementType
(String purchaseAgreementType) The type of purchase agreement (e.g., Reserved Instance, Savings Plan).purchaseAgreementType
(PurchaseAgreementType purchaseAgreementType) The type of purchase agreement (e.g., Reserved Instance, Savings Plan).The Amazon Web Services region associated with this commitment.termLength
(String termLength) The length of the commitment term.upfrontPayment
(Consumer<CostAmount.Builder> upfrontPayment) The upfront payment amount for this commitment, if applicable.upfrontPayment
(CostAmount upfrontPayment) The upfront payment amount for this commitment, if applicable.usageAccountId
(String usageAccountId) The Amazon Web Services account ID associated with this commitment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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
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 theCostAmount.Builder
avoiding the need to create one manually viaCostAmount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupfrontPayment(CostAmount)
.- Parameters:
upfrontPayment
- a consumer that will call methods onCostAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theCostAmount.Builder
avoiding the need to create one manually viaCostAmount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonthlyPayment(CostAmount)
.- Parameters:
monthlyPayment
- a consumer that will call methods onCostAmount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-