Interface MonetaryValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MonetaryValue.Builder,,MonetaryValue> SdkBuilder<MonetaryValue.Builder,,MonetaryValue> SdkPojo
- Enclosing class:
MonetaryValue
@Mutable
@NotThreadSafe
public static interface MonetaryValue.Builder
extends SdkPojo, CopyableBuilder<MonetaryValue.Builder,MonetaryValue>
-
Method Summary
Modifier and TypeMethodDescriptionThe numeric amount of the monetary value.currencyCode(String currencyCode) The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.currencyCode(CurrencyCode currencyCode) The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.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
-
amount
The numeric amount of the monetary value.
- Parameters:
amount- The numeric amount of the monetary value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.
- Parameters:
currencyCode- The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyCode
The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.
- Parameters:
currencyCode- The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-