Interface PayPalConfigurationOutput.Builder

  • Method Details

    • clientId

      PayPal REST app client ID.

      Parameters:
      clientId - PayPal REST app client ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecretArn

      PayPalConfigurationOutput.Builder clientSecretArn(Secret clientSecretArn)

      ARN of the secret that holds the client secret.

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

      default PayPalConfigurationOutput.Builder clientSecretArn(Consumer<Secret.Builder> clientSecretArn)

      ARN of the secret that holds the client secret.

      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 clientSecretArn(Secret).

      Parameters:
      clientSecretArn - 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:
    • clientSecretJsonKey

      PayPalConfigurationOutput.Builder clientSecretJsonKey(String clientSecretJsonKey)

      The key within the Secrets Manager secret's JSON payload that holds the client secret. Present only when the secret stores the value under a named key rather than as the whole payload.

      Parameters:
      clientSecretJsonKey - The key within the Secrets Manager secret's JSON payload that holds the client secret. Present only when the secret stores the value under a named key rather than as the whole payload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecretSource

      PayPalConfigurationOutput.Builder clientSecretSource(String clientSecretSource)

      Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).

      Parameters:
      clientSecretSource - Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientSecretSource

      PayPalConfigurationOutput.Builder clientSecretSource(SecretSourceType clientSecretSource)

      Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).

      Parameters:
      clientSecretSource - Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • environment

      PayPalConfigurationOutput.Builder environment(String environment)

      PayPal environment: LIVE or SANDBOX.

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

      PayPal environment: LIVE or SANDBOX.

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