Interface StripeConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StripeConfigurationInput.Builder,,StripeConfigurationInput> SdkBuilder<StripeConfigurationInput.Builder,,StripeConfigurationInput> SdkPojo
- Enclosing class:
StripeConfigurationInput
-
Method Summary
Modifier and TypeMethodDescriptionpublishableKey(String publishableKey) Stripe publishable key (pk_live_* or pk_test_*).restrictedKey(String restrictedKey) The restricted key value, supplied inline.default StripeConfigurationInput.BuilderrestrictedKeyConfig(Consumer<SecretReference.Builder> restrictedKeyConfig) Secrets Manager reference to a restricted key the merchant owns (EXTERNAL).restrictedKeyConfig(SecretReference restrictedKeyConfig) Secrets Manager reference to a restricted key the merchant owns (EXTERNAL).restrictedKeySource(String restrictedKeySource) Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant.restrictedKeySource(SecretSourceType restrictedKeySource) Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant.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
-
restrictedKey
The restricted key value, supplied inline. Use this when AgentCore should own the secret (MANAGED): the service stores the value in a service-linked Secrets Manager secret. Mutually exclusive with restrictedKeyConfig.
- Parameters:
restrictedKey- The restricted key value, supplied inline. Use this when AgentCore should own the secret (MANAGED): the service stores the value in a service-linked Secrets Manager secret. Mutually exclusive with restrictedKeyConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictedKeySource
Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
- Parameters:
restrictedKeySource- Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
restrictedKeySource
Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
- Parameters:
restrictedKeySource- Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
restrictedKeyConfig
Secrets Manager reference to a restricted key the merchant owns (EXTERNAL). Preferred over restrictedKey: the value never travels through this API, so it stays out of the CloudTrail request body and out of shell history. Mutually exclusive with restrictedKey.
- Parameters:
restrictedKeyConfig- Secrets Manager reference to a restricted key the merchant owns (EXTERNAL). Preferred over restrictedKey: the value never travels through this API, so it stays out of the CloudTrail request body and out of shell history. Mutually exclusive with restrictedKey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictedKeyConfig
default StripeConfigurationInput.Builder restrictedKeyConfig(Consumer<SecretReference.Builder> restrictedKeyConfig) Secrets Manager reference to a restricted key the merchant owns (EXTERNAL). Preferred over restrictedKey: the value never travels through this API, so it stays out of the CloudTrail request body and out of shell history. Mutually exclusive with restrictedKey.
This is a convenience method that creates an instance of theSecretReference.Builderavoiding the need to create one manually viaSecretReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torestrictedKeyConfig(SecretReference).- Parameters:
restrictedKeyConfig- a consumer that will call methods onSecretReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publishableKey
Stripe publishable key (pk_live_* or pk_test_*). Optional. Public by Stripe's design, so it is stored as a plain attribute on the provider record, never in Secrets Manager. Its mode must match the restricted key's (pk_test_ with rk_test_, pk_live_ with rk_live_).
- Parameters:
publishableKey- Stripe publishable key (pk_live_* or pk_test_*). Optional. Public by Stripe's design, so it is stored as a plain attribute on the provider record, never in Secrets Manager. Its mode must match the restricted key's (pk_test_ with rk_test_, pk_live_ with rk_live_).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-