Interface ConnectedAccountConfig.Builder

  • Method Details

    • connectedAccountArn

      ConnectedAccountConfig.Builder connectedAccountArn(String 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:GetConnectedAccount permission 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 the payments:GetConnectedAccount permission on this ARN.
      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(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.

      This is a convenience method that creates an instance of the ConnectedAccountChainConfig.Builder avoiding the need to create one manually via ConnectedAccountChainConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to paymentNetworks(List<ConnectedAccountChainConfig>).

      Parameters:
      paymentNetworks - a consumer that will call methods on ConnectedAccountChainConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: