Interface Charge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Charge.Builder,,Charge> SdkBuilder<Charge.Builder,,Charge> SdkPojo
- Enclosing class:
Charge
@Mutable
@NotThreadSafe
public static interface Charge.Builder
extends SdkPojo, CopyableBuilder<Charge.Builder,Charge>
-
Method Summary
Modifier and TypeMethodDescriptionagreementId(String agreementId) The unique identifier of the agreement that resulted in this charge.agreementType(String agreementType) The type of agreement that resulted in this charge (for example,PurchaseAgreement).The amount of the charge.currencyCode(String currencyCode) The currency code for the charge amount.The unique identifier of the charge.purchaseOrderReference(String purchaseOrderReference) The purchase order reference associated with the charge, if any.The revision number of the charge.The date and time when the charge will be incurred.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier of the charge.
- Parameters:
id- The unique identifier of the charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The revision number of the charge.
- Parameters:
revision- The revision number of the charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementId
The unique identifier of the agreement that resulted in this charge.
- Parameters:
agreementId- The unique identifier of the agreement that resulted in this charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementType
The type of agreement that resulted in this charge (for example,
PurchaseAgreement).- Parameters:
agreementType- The type of agreement that resulted in this charge (for example,PurchaseAgreement).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
purchaseOrderReference
The purchase order reference associated with the charge, if any.
- Parameters:
purchaseOrderReference- The purchase order reference associated with the charge, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code for the charge amount.
- Parameters:
currencyCode- The currency code for the charge amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
The amount of the charge.
- Parameters:
amount- The amount of the charge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
The date and time when the charge will be incurred. This is available only when the charge date is known.
- Parameters:
time- The date and time when the charge will be incurred. This is available only when the charge date is known.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-