Class CfnStudioPropsMixin.StudioEncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.nimblestudio.CfnStudioPropsMixin.StudioEncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioPropsMixin.StudioEncryptionConfigurationProperty>
- Enclosing interface:
CfnStudioPropsMixin.StudioEncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnStudioPropsMixin.StudioEncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioPropsMixin.StudioEncryptionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStudioPropsMixin.StudioEncryptionConfigurationProperty.getKeyArn()Sets the value ofCfnStudioPropsMixin.StudioEncryptionConfigurationProperty.getKeyType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyArn
@Stability(Stable) public CfnStudioPropsMixin.StudioEncryptionConfigurationProperty.Builder keyArn(String keyArn) Sets the value ofCfnStudioPropsMixin.StudioEncryptionConfigurationProperty.getKeyArn()- Parameters:
keyArn-The ARN for a KMS key that is used to encrypt studio data.
.- Returns:
this
-
keyType
@Stability(Stable) public CfnStudioPropsMixin.StudioEncryptionConfigurationProperty.Builder keyType(String keyType) Sets the value ofCfnStudioPropsMixin.StudioEncryptionConfigurationProperty.getKeyType()- Parameters:
keyType-The type of KMS key that is used to encrypt studio data.
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStudioPropsMixin.StudioEncryptionConfigurationProperty>- Returns:
- a new instance of
CfnStudioPropsMixin.StudioEncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-