Interface Amount.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Amount.Builder,,Amount> SdkBuilder<Amount.Builder,,Amount> SdkPojo
- Enclosing class:
Amount
@Mutable
@NotThreadSafe
public static interface Amount.Builder
extends SdkPojo, CopyableBuilder<Amount.Builder,Amount>
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyAmount(String currencyAmount) The amount as a decimal string (for example,"743.21").currencyCode(String currencyCode) The ISO 4217 currency code for the amount (for example,USD).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
-
currencyCode
The ISO 4217 currency code for the amount (for example,
USD).- Parameters:
currencyCode- The ISO 4217 currency code for the amount (for example,USD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyAmount
The amount as a decimal string (for example,
"743.21"). Negative values represent credits that reduce a bill.- Parameters:
currencyAmount- The amount as a decimal string (for example,"743.21"). Negative values represent credits that reduce a bill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-