Interface Price.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Price.Builder,,Price> SdkBuilder<Price.Builder,,Price> SdkPojo
- Enclosing class:
Price
@Mutable
@NotThreadSafe
public static interface Price.Builder
extends SdkPojo, CopyableBuilder<Price.Builder,Price>
-
Method Summary
Modifier and TypeMethodDescriptionThe price per request as a decimal string in the specified currency.The cryptocurrency for payment.currency(CryptoCurrency currency) The cryptocurrency for payment.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 price per request as a decimal string in the specified currency. Minimum: 0.001. Maximum: 999999999.999. Supports up to 3 decimal places.
- Parameters:
amount- The price per request as a decimal string in the specified currency. Minimum: 0.001. Maximum: 999999999.999. Supports up to 3 decimal places.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currency
The cryptocurrency for payment. Currently only
USDCis supported.- Parameters:
currency- The cryptocurrency for payment. Currently onlyUSDCis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The cryptocurrency for payment. Currently only
USDCis supported.- Parameters:
currency- The cryptocurrency for payment. Currently onlyUSDCis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-