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