Interface ConnectedAccountConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectedAccountConfig.Builder,,ConnectedAccountConfig> SdkBuilder<ConnectedAccountConfig.Builder,,ConnectedAccountConfig> SdkPojo
- Enclosing class:
ConnectedAccountConfig
-
Method Summary
Modifier and TypeMethodDescriptionconnectedAccountArn(String connectedAccountArn) The Amazon Resource Name (ARN) of the connected account that payments settle to.paymentNetworks(Collection<ConnectedAccountChainConfig> paymentNetworks) The per-network configurations for the connected account.paymentNetworks(Consumer<ConnectedAccountChainConfig.Builder>... paymentNetworks) The per-network configurations for the connected account.paymentNetworks(ConnectedAccountChainConfig... paymentNetworks) The per-network configurations for the connected account.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
-
connectedAccountArn
The Amazon Resource Name (ARN) of the connected account that payments settle to. You obtain this ARN from Payment preferences > Connected accounts in the Amazon Web Services Billing and Cost Management console. For more information, see Managing connected accounts. The connected account must be active and enabled for crypto settlement; otherwise the request is rejected. To use a connected account, you must have the
payments:GetConnectedAccountpermission on this ARN.- Parameters:
connectedAccountArn- The Amazon Resource Name (ARN) of the connected account that payments settle to. You obtain this ARN from Payment preferences > Connected accounts in the Amazon Web Services Billing and Cost Management console. For more information, see Managing connected accounts. The connected account must be active and enabled for crypto settlement; otherwise the request is rejected. To use a connected account, you must have thepayments:GetConnectedAccountpermission on this ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentNetworks
ConnectedAccountConfig.Builder paymentNetworks(Collection<ConnectedAccountChainConfig> paymentNetworks) The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.
- Parameters:
paymentNetworks- The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentNetworks
The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.
- Parameters:
paymentNetworks- The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentNetworks
ConnectedAccountConfig.Builder paymentNetworks(Consumer<ConnectedAccountChainConfig.Builder>... paymentNetworks) The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.
This is a convenience method that creates an instance of theConnectedAccountChainConfig.Builderavoiding the need to create one manually viaConnectedAccountChainConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topaymentNetworks(List<ConnectedAccountChainConfig>).- Parameters:
paymentNetworks- a consumer that will call methods onConnectedAccountChainConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-