Interface AmazonPayConfigurationOutput.Builder

  • Method Details

    • merchantId

      Amazon Pay merchant ID (Seller ID) of the merchant account.

      Parameters:
      merchantId - Amazon Pay merchant ID (Seller ID) of the merchant account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storeId

      Amazon Pay client store ID of the merchant's store.

      Parameters:
      storeId - Amazon Pay client store ID of the merchant's store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationTokenArn

      AmazonPayConfigurationOutput.Builder authorizationTokenArn(Secret authorizationTokenArn)

      ARN of the secret that holds the authorization token.

      Parameters:
      authorizationTokenArn - ARN of the secret that holds the authorization token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationTokenArn

      default AmazonPayConfigurationOutput.Builder authorizationTokenArn(Consumer<Secret.Builder> authorizationTokenArn)

      ARN of the secret that holds the authorization token.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authorizationTokenArn(Secret).

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

      AmazonPayConfigurationOutput.Builder authorizationTokenJsonKey(String authorizationTokenJsonKey)

      JSON key of the authorization token inside the secret value, for an EXTERNAL secret.

      Parameters:
      authorizationTokenJsonKey - JSON key of the authorization token inside the secret value, for an EXTERNAL secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationTokenSource

      AmazonPayConfigurationOutput.Builder authorizationTokenSource(String authorizationTokenSource)

      Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.

      Parameters:
      authorizationTokenSource - Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizationTokenSource

      AmazonPayConfigurationOutput.Builder authorizationTokenSource(SecretSourceType authorizationTokenSource)

      Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.

      Parameters:
      authorizationTokenSource - Where the authorization token is stored: MANAGED by AgentCore or EXTERNAL in your Secrets Manager secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environment

      AmazonPayConfigurationOutput.Builder environment(String environment)

      Amazon Pay environment: LIVE or SANDBOX.

      Parameters:
      environment - Amazon Pay environment: LIVE or SANDBOX.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environment

      Amazon Pay environment: LIVE or SANDBOX.

      Parameters:
      environment - Amazon Pay environment: LIVE or SANDBOX.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • amazonPayRegion

      AmazonPayConfigurationOutput.Builder amazonPayRegion(String amazonPayRegion)

      The Amazon Pay region the merchant's authorization token belongs to (NA or EU).

      Parameters:
      amazonPayRegion - The Amazon Pay region the merchant's authorization token belongs to (NA or EU).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • amazonPayRegion

      The Amazon Pay region the merchant's authorization token belongs to (NA or EU).

      Parameters:
      amazonPayRegion - The Amazon Pay region the merchant's authorization token belongs to (NA or EU).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: