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