Interface BillEstimateCommitmentSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillEstimateCommitmentSummary.Builder,BillEstimateCommitmentSummary>,SdkBuilder<BillEstimateCommitmentSummary.Builder,BillEstimateCommitmentSummary>,SdkPojo
- Enclosing class:
- BillEstimateCommitmentSummary
public static interface BillEstimateCommitmentSummary.Builder extends SdkPojo, CopyableBuilder<BillEstimateCommitmentSummary.Builder,BillEstimateCommitmentSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BillEstimateCommitmentSummary.Builderid(String id)The unique identifier of the commitment.default BillEstimateCommitmentSummary.BuildermonthlyPayment(Consumer<CostAmount.Builder> monthlyPayment)The monthly payment amount for this commitment, if applicable.BillEstimateCommitmentSummary.BuildermonthlyPayment(CostAmount monthlyPayment)The monthly payment amount for this commitment, if applicable.BillEstimateCommitmentSummary.BuilderofferingId(String offeringId)The identifier of the specific offering associated with this commitment.BillEstimateCommitmentSummary.BuilderpaymentOption(String paymentOption)The payment option chosen for this commitment (e.g., All Upfront, Partial Upfront, No Upfront).BillEstimateCommitmentSummary.BuilderpurchaseAgreementType(String purchaseAgreementType)The type of purchase agreement (e.g., Reserved Instance, Savings Plan).BillEstimateCommitmentSummary.BuilderpurchaseAgreementType(PurchaseAgreementType purchaseAgreementType)The type of purchase agreement (e.g., Reserved Instance, Savings Plan).BillEstimateCommitmentSummary.Builderregion(String region)The Amazon Web Services region associated with this commitment.BillEstimateCommitmentSummary.BuildertermLength(String termLength)The length of the commitment term.default BillEstimateCommitmentSummary.BuilderupfrontPayment(Consumer<CostAmount.Builder> upfrontPayment)The upfront payment amount for this commitment, if applicable.BillEstimateCommitmentSummary.BuilderupfrontPayment(CostAmount upfrontPayment)The upfront payment amount for this commitment, if applicable.BillEstimateCommitmentSummary.BuilderusageAccountId(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 Detail
-
id
BillEstimateCommitmentSummary.Builder id(String 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,PurchaseAgreementType
-
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:
PurchaseAgreementType,PurchaseAgreementType
-
offeringId
BillEstimateCommitmentSummary.Builder offeringId(String 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
BillEstimateCommitmentSummary.Builder region(String 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
BillEstimateCommitmentSummary.Builder termLength(String 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 theCostAmount.Builderavoiding the need to create one manually viaCostAmount.builder().When the
Consumercompletes,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:
upfrontPayment(CostAmount)
-
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 theCostAmount.Builderavoiding the need to create one manually viaCostAmount.builder().When the
Consumercompletes,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:
monthlyPayment(CostAmount)
-
-