Class CfnSecurityConfigurationPropsMixin.S3EncryptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnSecurityConfigurationPropsMixin.S3EncryptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfigurationPropsMixin.S3EncryptionProperty>
- Enclosing interface:
CfnSecurityConfigurationPropsMixin.S3EncryptionProperty
@Stability(Stable)
public static final class CfnSecurityConfigurationPropsMixin.S3EncryptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfigurationPropsMixin.S3EncryptionProperty>
A builder for
CfnSecurityConfigurationPropsMixin.S3EncryptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSecurityConfigurationPropsMixin.S3EncryptionProperty.getKmsKeyArn()s3EncryptionMode(String s3EncryptionMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnSecurityConfigurationPropsMixin.S3EncryptionProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnSecurityConfigurationPropsMixin.S3EncryptionProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.- Returns:
this
-
s3EncryptionMode
@Stability(Stable) public CfnSecurityConfigurationPropsMixin.S3EncryptionProperty.Builder s3EncryptionMode(String s3EncryptionMode) - Parameters:
s3EncryptionMode- The encryption mode to use for Amazon S3 data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityConfigurationPropsMixin.S3EncryptionProperty>- Returns:
- a new instance of
CfnSecurityConfigurationPropsMixin.S3EncryptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-