Interface CostAmount.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CostAmount.Builder,CostAmount>,SdkBuilder<CostAmount.Builder,CostAmount>,SdkPojo
- Enclosing class:
- CostAmount
public static interface CostAmount.Builder extends SdkPojo, CopyableBuilder<CostAmount.Builder,CostAmount>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CostAmount.Builderamount(Double amount)The numeric value of the cost.CostAmount.Buildercurrency(String currency)The currency code for the cost amount.CostAmount.Buildercurrency(CurrencyCode currency)The currency code for the cost amount.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
amount
CostAmount.Builder amount(Double 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
CostAmount.Builder currency(String 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:
CurrencyCode,CurrencyCode
-
currency
CostAmount.Builder currency(CurrencyCode 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:
CurrencyCode,CurrencyCode
-
-