Class CfnWorkspaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iottwinmaker.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.description(String description) Sets the value ofCfnWorkspaceMixinProps.getDescription()Sets the value ofCfnWorkspaceMixinProps.getRole()Sets the value ofCfnWorkspaceMixinProps.getRole()s3Location(String s3Location) Sets the value ofCfnWorkspaceMixinProps.getS3Location()s3Location(IBucketRef s3Location) Sets the value ofCfnWorkspaceMixinProps.getS3Location()Sets the value ofCfnWorkspaceMixinProps.getTags()workspaceId(String workspaceId) Sets the value ofCfnWorkspaceMixinProps.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnWorkspaceMixinProps.getDescription()- Parameters:
description- The description of the workspace.- Returns:
this
-
role
Sets the value ofCfnWorkspaceMixinProps.getRole()- Parameters:
role- The ARN of the execution role associated with the workspace.- Returns:
this
-
role
Sets the value ofCfnWorkspaceMixinProps.getRole()- Parameters:
role- The ARN of the execution role associated with the workspace.- Returns:
this
-
s3Location
Sets the value ofCfnWorkspaceMixinProps.getS3Location()- Parameters:
s3Location- The ARN of the S3 bucket where resources associated with the workspace are stored.- Returns:
this
-
s3Location
Sets the value ofCfnWorkspaceMixinProps.getS3Location()- Parameters:
s3Location- The ARN of the S3 bucket where resources associated with the workspace are stored.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceMixinProps.getTags()- Parameters:
tags- Metadata that you can use to manage the workspace.- Returns:
this
-
workspaceId
Sets the value ofCfnWorkspaceMixinProps.getWorkspaceId()- Parameters:
workspaceId- The ID 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
-