Class CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emrcontainers.CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty>
- Enclosing interface:
CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionOption(String encryptionOption)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionOption
@Stability(Stable) public CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty.Builder encryptionOption(String encryptionOption) Sets the value ofCfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty.getEncryptionOption()- Parameters:
encryptionOption- The S3 encryption option.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty.getKmsKeyId()- Parameters:
kmsKeyId- The KMS key ID for encryption.- Returns:
this
-
build
@Stability(Stable) public CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnSecurityConfigurationPropsMixin.S3EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-