Interface ConnectedAccountChainConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectedAccountChainConfig.Builder,,ConnectedAccountChainConfig> SdkBuilder<ConnectedAccountChainConfig.Builder,,ConnectedAccountChainConfig> SdkPojo
- Enclosing class:
ConnectedAccountChainConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe blockchain network for receiving payments through the connected account.chain(ConnectedAccountChain chain) The blockchain network for receiving payments through the connected account.prices(Collection<ConnectedAccountPrice> prices) The price configuration for this network.prices(Consumer<ConnectedAccountPrice.Builder>... prices) The price configuration for this network.prices(ConnectedAccountPrice... prices) The price configuration for this network.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
-
chain
The blockchain network for receiving payments through the connected account. Test networks are not supported for connected accounts.
Valid values:
-
BASE- Base mainnet. -
SOLANA- Solana mainnet.
- Parameters:
chain- The blockchain network for receiving payments through the connected account. Test networks are not supported for connected accounts.Valid values:
-
BASE- Base mainnet. -
SOLANA- Solana mainnet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
chain
The blockchain network for receiving payments through the connected account. Test networks are not supported for connected accounts.
Valid values:
-
BASE- Base mainnet. -
SOLANA- Solana mainnet.
- Parameters:
chain- The blockchain network for receiving payments through the connected account. Test networks are not supported for connected accounts.Valid values:
-
BASE- Base mainnet. -
SOLANA- Solana mainnet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
prices
The price configuration for this network. Currently supports a single price entry in USDC.
- Parameters:
prices- The price configuration for this network. Currently supports a single price entry in USDC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prices
The price configuration for this network. Currently supports a single price entry in USDC.
- Parameters:
prices- The price configuration for this network. Currently supports a single price entry in USDC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prices
The price configuration for this network. Currently supports a single price entry in USDC.
This is a convenience method that creates an instance of theConnectedAccountPrice.Builderavoiding the need to create one manually viaConnectedAccountPrice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprices(List<ConnectedAccountPrice>).- Parameters:
prices- a consumer that will call methods onConnectedAccountPrice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-