Interface StripePrivyConfigurationInput.Builder

  • Method Details

    • appId

      The app ID provided by Privy.

      Parameters:
      appId - The app ID provided by Privy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appSecret

      The app secret provided by Privy.

      Parameters:
      appSecret - The app secret provided by Privy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appSecretSource

      StripePrivyConfigurationInput.Builder appSecretSource(String appSecretSource)

      The source type of the app secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.

      Parameters:
      appSecretSource - The source type of the app secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • appSecretSource

      StripePrivyConfigurationInput.Builder appSecretSource(SecretSourceType appSecretSource)

      The source type of the app secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.

      Parameters:
      appSecretSource - The source type of the app secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • appSecretConfig

      StripePrivyConfigurationInput.Builder appSecretConfig(SecretReference appSecretConfig)

      A reference to the Amazon Web Services Secrets Manager secret that stores the app secret. This includes the secret ID and the JSON key used to extract the app secret value from the secret. Required when appSecretSource is set to EXTERNAL.

      Parameters:
      appSecretConfig - A reference to the Amazon Web Services Secrets Manager secret that stores the app secret. This includes the secret ID and the JSON key used to extract the app secret value from the secret. Required when appSecretSource is set to EXTERNAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appSecretConfig

      default StripePrivyConfigurationInput.Builder appSecretConfig(Consumer<SecretReference.Builder> appSecretConfig)

      A reference to the Amazon Web Services Secrets Manager secret that stores the app secret. This includes the secret ID and the JSON key used to extract the app secret value from the secret. Required when appSecretSource is set to EXTERNAL.

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

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

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

      StripePrivyConfigurationInput.Builder authorizationPrivateKey(String authorizationPrivateKey)

      The authorization private key for the Stripe Privy integration.

      Parameters:
      authorizationPrivateKey - The authorization private key for the Stripe Privy integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationPrivateKeySource

      StripePrivyConfigurationInput.Builder authorizationPrivateKeySource(String authorizationPrivateKeySource)

      The source type of the authorization private key. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.

      Parameters:
      authorizationPrivateKeySource - The source type of the authorization private key. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizationPrivateKeySource

      StripePrivyConfigurationInput.Builder authorizationPrivateKeySource(SecretSourceType authorizationPrivateKeySource)

      The source type of the authorization private key. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.

      Parameters:
      authorizationPrivateKeySource - The source type of the authorization private key. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizationPrivateKeyConfig

      StripePrivyConfigurationInput.Builder authorizationPrivateKeyConfig(SecretReference authorizationPrivateKeyConfig)

      A reference to the Amazon Web Services Secrets Manager secret that stores the authorization private key. This includes the secret ID and the JSON key used to extract the authorization private key value from the secret. Required when authorizationPrivateKeySource is set to EXTERNAL.

      Parameters:
      authorizationPrivateKeyConfig - A reference to the Amazon Web Services Secrets Manager secret that stores the authorization private key. This includes the secret ID and the JSON key used to extract the authorization private key value from the secret. Required when authorizationPrivateKeySource is set to EXTERNAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationPrivateKeyConfig

      default StripePrivyConfigurationInput.Builder authorizationPrivateKeyConfig(Consumer<SecretReference.Builder> authorizationPrivateKeyConfig)

      A reference to the Amazon Web Services Secrets Manager secret that stores the authorization private key. This includes the secret ID and the JSON key used to extract the authorization private key value from the secret. Required when authorizationPrivateKeySource is set to EXTERNAL.

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

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

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

      StripePrivyConfigurationInput.Builder authorizationId(String authorizationId)

      The authorization ID for the Stripe Privy integration.

      Parameters:
      authorizationId - The authorization ID for the Stripe Privy integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.