Interface MonetaryAmount.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonetaryAmount.Builder,
,MonetaryAmount> SdkBuilder<MonetaryAmount.Builder,
,MonetaryAmount> SdkPojo
- Enclosing class:
MonetaryAmount
public static interface MonetaryAmount.Builder
extends SdkPojo, CopyableBuilder<MonetaryAmount.Builder,MonetaryAmount>
-
Method Summary
Modifier and TypeMethodDescriptionThe numerical amount of an offering or transaction.currencyCode
(String currencyCode) The currency code of a monetary amount.currencyCode
(CurrencyCode currencyCode) The currency code of a monetary amount.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, sdkFields
-
Method Details
-
amount
The numerical amount of an offering or transaction.
- Parameters:
amount
- The numerical amount of an offering or transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code of a monetary amount. For example,
USD
means U.S. dollars.- Parameters:
currencyCode
- The currency code of a monetary amount. For example,USD
means U.S. dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyCode
The currency code of a monetary amount. For example,
USD
means U.S. dollars.- Parameters:
currencyCode
- The currency code of a monetary amount. For example,USD
means U.S. dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-