Class CfnWorkspace.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.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.Builder
description
(String description) The description of the workspace.The ARN of the execution role associated with the workspace.s3Location
(String s3Location) The ARN of the S3 bucket where resources associated with the workspace are stored.Metadata that you can use to manage the workspace.workspaceId
(String workspaceId) The ID of the workspace.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnWorkspace.Builder
.
-
role
The ARN of the execution role associated with the workspace.- Parameters:
role
- The ARN of the execution role associated with the workspace. This parameter is required.- Returns:
this
-
s3Location
The ARN of the S3 bucket where resources associated with the workspace are stored.- Parameters:
s3Location
- The ARN of the S3 bucket where resources associated with the workspace are stored. This parameter is required.- Returns:
this
-
workspaceId
The ID of the workspace.- Parameters:
workspaceId
- The ID of the workspace. This parameter is required.- Returns:
this
-
description
The description of the workspace.- Parameters:
description
- The description of the workspace. This parameter is required.- Returns:
this
-
tags
Metadata that you can use to manage the workspace.- Parameters:
tags
- Metadata that you can use to manage the workspace. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkspace>
- Returns:
- a newly built instance of
CfnWorkspace
.
-