CopyableBuilder<MonetaryAmount.Builder,MonetaryAmount>
, SdkBuilder<MonetaryAmount.Builder,MonetaryAmount>
public static interface MonetaryAmount.Builder extends CopyableBuilder<MonetaryAmount.Builder,MonetaryAmount>
Modifier and Type | Method | Description |
---|---|---|
MonetaryAmount.Builder |
amount(Double amount) |
The numerical amount of an offering or transaction.
|
MonetaryAmount.Builder |
currencyCode(String currencyCode) |
The currency code of a monetary amount.
|
MonetaryAmount.Builder |
currencyCode(CurrencyCode currencyCode) |
The currency code of a monetary amount.
|
copy
apply, build
MonetaryAmount.Builder amount(Double amount)
The numerical amount of an offering or transaction.
amount
- The numerical amount of an offering or transaction.MonetaryAmount.Builder currencyCode(String currencyCode)
The currency code of a monetary amount. For example, USD
means "U.S. dollars."
currencyCode
- The currency code of a monetary amount. For example, USD
means "U.S. dollars."CurrencyCode
MonetaryAmount.Builder currencyCode(CurrencyCode currencyCode)
The currency code of a monetary amount. For example, USD
means "U.S. dollars."
currencyCode
- The currency code of a monetary amount. For example, USD
means "U.S. dollars."CurrencyCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.