Class CfnWorkspace.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnWorkspace.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace>
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static final class CfnWorkspace.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace>
A fluent builder for
CfnWorkspace.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnWorkspace.BuilderencryptionConfiguration(IResolvable encryptionConfiguration) The encryption configuration for the workspace.encryptionConfiguration(CfnWorkspace.EncryptionConfigurationProperty encryptionConfiguration) The encryption configuration for the workspace.The ARN of the AWS KMS key used for KMS_BASED_ENCRYPTION.An array of key-value pairs to apply to this resource.workspaceDescription(String workspaceDescription) A description of the workspace.workspaceName(String workspaceName) The name of the workspace.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkspace.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkspace.Builder.
-
encryptionConfiguration
@Stability(Stable) public CfnWorkspace.Builder encryptionConfiguration(IResolvable encryptionConfiguration) The encryption configuration for the workspace.- Parameters:
encryptionConfiguration- The encryption configuration for the workspace. This parameter is required.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnWorkspace.Builder encryptionConfiguration(CfnWorkspace.EncryptionConfigurationProperty encryptionConfiguration) The encryption configuration for the workspace.- Parameters:
encryptionConfiguration- The encryption configuration for the workspace. This parameter is required.- Returns:
this- See Also:
-
workspaceName
The name of the workspace.- Parameters:
workspaceName- The name of the workspace. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The ARN of the AWS KMS key used for KMS_BASED_ENCRYPTION.Required when EncryptionConfiguration.EncryptionType is KMS_BASED_ENCRYPTION.
- Parameters:
kmsKeyId- The ARN of the AWS KMS key used for KMS_BASED_ENCRYPTION. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
workspaceDescription
A description of the workspace.- Parameters:
workspaceDescription- A description of the workspace. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace>- Returns:
- a newly built instance of
CfnWorkspace.
-