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 amount, as a decimal string with at most two decimal places.currencyCode(String currencyCode) The ISO 4217 currency the amount is denominated in.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 amount, as a decimal string with at most two decimal places.
- Parameters:
amount- The amount, as a decimal string with at most two decimal places.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The ISO 4217 currency the amount is denominated in.
- Parameters:
currencyCode- The ISO 4217 currency the amount is denominated in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-