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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MonetaryAmount.Builderamount(Double amount)The numerical amount of an offering or transaction.MonetaryAmount.BuildercurrencyCode(String currencyCode)The currency code of a monetary amount.MonetaryAmount.BuildercurrencyCode(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 Detail
-
amount
MonetaryAmount.Builder amount(Double 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
MonetaryAmount.Builder currencyCode(String currencyCode)
The currency code of a monetary amount. For example,
USDmeans U.S. dollars.- Parameters:
currencyCode- The currency code of a monetary amount. For example,USDmeans U.S. dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
currencyCode
MonetaryAmount.Builder currencyCode(CurrencyCode currencyCode)
The currency code of a monetary amount. For example,
USDmeans U.S. dollars.- Parameters:
currencyCode- The currency code of a monetary amount. For example,USDmeans U.S. dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
-