Class CfnWorkspaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnWorkspaceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceMixinProps>
- Enclosing interface:
CfnWorkspaceMixinProps
@Stability(Stable)
public static final class CfnWorkspaceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceMixinProps>
A builder for
CfnWorkspaceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionConfiguration(CfnWorkspacePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnWorkspaceMixinProps.getEncryptionConfiguration()encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnWorkspaceMixinProps.getEncryptionConfiguration()Sets the value ofCfnWorkspaceMixinProps.getKmsKeyId()Sets the value ofCfnWorkspaceMixinProps.getTags()workspaceDescription(String workspaceDescription) Sets the value ofCfnWorkspaceMixinProps.getWorkspaceDescription()workspaceName(String workspaceName) Sets the value ofCfnWorkspaceMixinProps.getWorkspaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionConfiguration
@Stability(Stable) public CfnWorkspaceMixinProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnWorkspaceMixinProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption configuration for the workspace.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkspaceMixinProps.Builder encryptionConfiguration(CfnWorkspacePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnWorkspaceMixinProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption configuration for the workspace.- Returns:
this
-
kmsKeyId
Sets the value ofCfnWorkspaceMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- The ARN of the AWS KMS key used for KMS_BASED_ENCRYPTION. Required when EncryptionConfiguration.EncryptionType is KMS_BASED_ENCRYPTION.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
workspaceDescription
@Stability(Stable) public CfnWorkspaceMixinProps.Builder workspaceDescription(String workspaceDescription) Sets the value ofCfnWorkspaceMixinProps.getWorkspaceDescription()- Parameters:
workspaceDescription- A description of the workspace.- Returns:
this
-
workspaceName
Sets the value ofCfnWorkspaceMixinProps.getWorkspaceName()- Parameters:
workspaceName- The name of the workspace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceMixinProps>- Returns:
- a new instance of
CfnWorkspaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-