Class CfnTokenVaultPropsMixin.KmsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnTokenVaultPropsMixin.KmsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTokenVaultPropsMixin.KmsConfigurationProperty>
- Enclosing interface:
CfnTokenVaultPropsMixin.KmsConfigurationProperty
@Stability(Stable)
public static final class CfnTokenVaultPropsMixin.KmsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTokenVaultPropsMixin.KmsConfigurationProperty>
A builder for
CfnTokenVaultPropsMixin.KmsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTokenVaultPropsMixin.KmsConfigurationProperty.getKeyType()Sets the value ofCfnTokenVaultPropsMixin.KmsConfigurationProperty.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyType
@Stability(Stable) public CfnTokenVaultPropsMixin.KmsConfigurationProperty.Builder keyType(String keyType) Sets the value ofCfnTokenVaultPropsMixin.KmsConfigurationProperty.getKeyType()- Parameters:
keyType- The type of KMS key (CustomerManagedKey or ServiceManagedKey).- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnTokenVaultPropsMixin.KmsConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnTokenVaultPropsMixin.KmsConfigurationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTokenVaultPropsMixin.KmsConfigurationProperty>- Returns:
- a new instance of
CfnTokenVaultPropsMixin.KmsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-