Class CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty>
- Enclosing interface:
CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty
@Stability(Stable)
public static final class CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiKeySecret(String apiKeySecret) apiKeySecretConfig(IResolvable apiKeySecretConfig) apiKeySecretConfig(CfnPaymentCredentialProvider.SecretReferenceProperty apiKeySecretConfig) apiKeySecretSource(String apiKeySecretSource) build()Builds the configured instance.walletSecret(String walletSecret) walletSecretConfig(IResolvable walletSecretConfig) walletSecretConfig(CfnPaymentCredentialProvider.SecretReferenceProperty walletSecretConfig) walletSecretSource(String walletSecretSource)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKeyId
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder apiKeyId(String apiKeyId) - Parameters:
apiKeyId- The Coinbase CDP API key ID. This parameter is required.- Returns:
this
-
apiKeySecret
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder apiKeySecret(String apiKeySecret) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getApiKeySecret()- Parameters:
apiKeySecret- The Coinbase CDP API key secret.- Returns:
this
-
apiKeySecretConfig
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder apiKeySecretConfig(IResolvable apiKeySecretConfig) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getApiKeySecretConfig()- Parameters:
apiKeySecretConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
apiKeySecretConfig
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder apiKeySecretConfig(CfnPaymentCredentialProvider.SecretReferenceProperty apiKeySecretConfig) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getApiKeySecretConfig()- Parameters:
apiKeySecretConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
apiKeySecretSource
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder apiKeySecretSource(String apiKeySecretSource) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getApiKeySecretSource()- Parameters:
apiKeySecretSource- The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets.- Returns:
this
-
walletSecret
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder walletSecret(String walletSecret) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getWalletSecret()- Parameters:
walletSecret- The Coinbase CDP wallet secret.- Returns:
this
-
walletSecretConfig
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder walletSecretConfig(IResolvable walletSecretConfig) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getWalletSecretConfig()- Parameters:
walletSecretConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
walletSecretConfig
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder walletSecretConfig(CfnPaymentCredentialProvider.SecretReferenceProperty walletSecretConfig) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getWalletSecretConfig()- Parameters:
walletSecretConfig- A reference to a customer-provided secret stored in AWS Secrets Manager.- Returns:
this
-
walletSecretSource
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.Builder walletSecretSource(String walletSecretSource) Sets the value ofCfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty.getWalletSecretSource()- Parameters:
walletSecretSource- The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets.- Returns:
this
-
build
@Stability(Stable) public CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty>- Returns:
- a new instance of
CfnPaymentCredentialProvider.CoinbaseCdpConfigurationInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-