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