Class CfnInvestigationGroup.EncryptionConfigMapProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aiops.CfnInvestigationGroup.EncryptionConfigMapProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInvestigationGroup.EncryptionConfigMapProperty>
- Enclosing interface:
CfnInvestigationGroup.EncryptionConfigMapProperty
@Stability(Stable)
public static final class CfnInvestigationGroup.EncryptionConfigMapProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInvestigationGroup.EncryptionConfigMapProperty>
A builder for
CfnInvestigationGroup.EncryptionConfigMapProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionConfigurationType(String encryptionConfigurationType) Sets the value ofCfnInvestigationGroup.EncryptionConfigMapProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionConfigurationType
@Stability(Stable) public CfnInvestigationGroup.EncryptionConfigMapProperty.Builder encryptionConfigurationType(String encryptionConfigurationType) Sets the value ofCfnInvestigationGroup.EncryptionConfigMapProperty.getEncryptionConfigurationType()- Parameters:
encryptionConfigurationType- Displays whether investigation data is encrypted by a customer managed key or an AWS owned key.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnInvestigationGroup.EncryptionConfigMapProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnInvestigationGroup.EncryptionConfigMapProperty.getKmsKeyId()- Parameters:
kmsKeyId- If the investigation group uses a customer managed key for encryption, this field displays the ID of that key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInvestigationGroup.EncryptionConfigMapProperty>- Returns:
- a new instance of
CfnInvestigationGroup.EncryptionConfigMapProperty - Throws:
NullPointerException- if any required attribute was not provided
-