Class CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty>
- Enclosing interface:
CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty
@Stability(Stable)
public static final class CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappSecretConfig(IResolvable appSecretConfig) appSecretConfig(CfnPaymentCredentialProvider.SecretReferenceProperty appSecretConfig) appSecretSource(String appSecretSource) authorizationId(String authorizationId) authorizationPrivateKey(String authorizationPrivateKey) authorizationPrivateKeyConfig(IResolvable authorizationPrivateKeyConfig) authorizationPrivateKeyConfig(CfnPaymentCredentialProvider.SecretReferenceProperty authorizationPrivateKeyConfig) authorizationPrivateKeySource(String authorizationPrivateKeySource) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appId
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder appId(String appId) - Parameters:
appId- The app ID provided by Privy. This parameter is required.- Returns:
this
-
authorizationId
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder authorizationId(String authorizationId) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAuthorizationId()- Parameters:
authorizationId- The authorization ID for the Stripe Privy integration. This parameter is required.- Returns:
this
-
appSecret
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder appSecret(String appSecret) - Parameters:
appSecret- The app secret provided by Privy.- Returns:
this
-
appSecretConfig
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder appSecretConfig(IResolvable appSecretConfig) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAppSecretConfig()- Parameters:
appSecretConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
appSecretConfig
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder appSecretConfig(CfnPaymentCredentialProvider.SecretReferenceProperty appSecretConfig) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAppSecretConfig()- Parameters:
appSecretConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
appSecretSource
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder appSecretSource(String appSecretSource) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAppSecretSource()- Parameters:
appSecretSource- The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets.- Returns:
this
-
authorizationPrivateKey
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder authorizationPrivateKey(String authorizationPrivateKey) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAuthorizationPrivateKey()- Parameters:
authorizationPrivateKey- The authorization private key for the Stripe Privy integration.- Returns:
this
-
authorizationPrivateKeyConfig
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder authorizationPrivateKeyConfig(IResolvable authorizationPrivateKeyConfig) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAuthorizationPrivateKeyConfig()- Parameters:
authorizationPrivateKeyConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
authorizationPrivateKeyConfig
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder authorizationPrivateKeyConfig(CfnPaymentCredentialProvider.SecretReferenceProperty authorizationPrivateKeyConfig) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAuthorizationPrivateKeyConfig()- Parameters:
authorizationPrivateKeyConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
authorizationPrivateKeySource
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.Builder authorizationPrivateKeySource(String authorizationPrivateKeySource) Sets the value ofCfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty.getAuthorizationPrivateKeySource()- Parameters:
authorizationPrivateKeySource- The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets.- Returns:
this
-
build
@Stability(Stable) public CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty>- Returns:
- a new instance of
CfnPaymentCredentialProvider.StripePrivyConfigurationInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-