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
@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
.
-
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
- See Also:
-
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
- See Also:
-
workspaceId
The ID of the workspace.- Parameters:
workspaceId
- The ID of the workspace. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the workspace.- Parameters:
description
- The description of the workspace. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkspace>
- Returns:
- a newly built instance of
CfnWorkspace
.
-