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