Class CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty>
- Enclosing interface:
CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty
@Stability(Stable)
public static final class CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPaymentCredentialProviderPropsMixin.SecretInfoProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretArn
@Stability(Stable) public CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty.Builder secretArn(String secretArn) Sets the value ofCfnPaymentCredentialProviderPropsMixin.SecretInfoProperty.getSecretArn()- Parameters:
secretArn- The ARN of the secret in AWS Secrets Manager.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty>- Returns:
- a new instance of
CfnPaymentCredentialProviderPropsMixin.SecretInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-