Class CfnWorkspaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnWorkspaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceProps>
- Enclosing interface:
CfnWorkspaceProps
@Stability(Stable)
public static final class CfnWorkspaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceProps>
A builder for
CfnWorkspaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWorkspaceProps.getDescription()Sets the value ofCfnWorkspaceProps.getRole()s3Location(String s3Location) Sets the value ofCfnWorkspaceProps.getS3Location()Sets the value ofCfnWorkspaceProps.getTags()workspaceId(String workspaceId) Sets the value ofCfnWorkspaceProps.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Sets the value ofCfnWorkspaceProps.getRole()- Parameters:
role- The ARN of the execution role associated with the workspace. This parameter is required.- Returns:
this
-
s3Location
Sets the value ofCfnWorkspaceProps.getS3Location()- Parameters:
s3Location- The ARN of the S3 bucket where resources associated with the workspace are stored. This parameter is required.- Returns:
this
-
workspaceId
Sets the value ofCfnWorkspaceProps.getWorkspaceId()- Parameters:
workspaceId- The ID of the workspace. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnWorkspaceProps.getDescription()- Parameters:
description- The description of the workspace.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceProps.getTags()- Parameters:
tags- Metadata that you can use to manage the workspace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceProps>- Returns:
- a new instance of
CfnWorkspaceProps - Throws:
NullPointerException- if any required attribute was not provided
-