Interface CurrencyAmount.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CurrencyAmount.Builder,,CurrencyAmount> SdkBuilder<CurrencyAmount.Builder,,CurrencyAmount> SdkPojo
- Enclosing class:
CurrencyAmount
@Mutable
@NotThreadSafe
public static interface CurrencyAmount.Builder
extends SdkPojo, CopyableBuilder<CurrencyAmount.Builder,CurrencyAmount>
-
Method Summary
Modifier and TypeMethodDescriptionThe ISO 4217 currency code for the amount (for example,USD).The amount, as a decimal string, such as10.99.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
-
value
The amount, as a decimal string, such as
10.99. The number of decimal places can differ between amounts, for example0.0and1000.24.- Parameters:
value- The amount, as a decimal string, such as10.99. The number of decimal places can differ between amounts, for example0.0and1000.24.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
The ISO 4217 currency code for the amount (for example,
USD).- Parameters:
currency- The ISO 4217 currency code for the amount (for example,USD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-