@Stability(value=Stable) public static final class CfnWorkspaceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnWorkspaceProps>
CfnWorkspaceProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWorkspaceProps |
build()
Builds the configured instance.
|
CfnWorkspaceProps.Builder |
description(String description)
Sets the value of
CfnWorkspaceProps.getDescription() |
CfnWorkspaceProps.Builder |
role(String role)
Sets the value of
CfnWorkspaceProps.getRole() |
CfnWorkspaceProps.Builder |
s3Location(String s3Location)
Sets the value of
CfnWorkspaceProps.getS3Location() |
CfnWorkspaceProps.Builder |
tags(Map<String,String> tags)
Sets the value of
CfnWorkspaceProps.getTags() |
CfnWorkspaceProps.Builder |
workspaceId(String workspaceId)
Sets the value of
CfnWorkspaceProps.getWorkspaceId() |
@Stability(value=Stable) public CfnWorkspaceProps.Builder role(String role)
CfnWorkspaceProps.getRole()
role
- The ARN of the execution role associated with the workspace. This parameter is required.this
@Stability(value=Stable) public CfnWorkspaceProps.Builder s3Location(String s3Location)
CfnWorkspaceProps.getS3Location()
s3Location
- The ARN of the S3 bucket where resources associated with the workspace are stored. This parameter is required.this
@Stability(value=Stable) public CfnWorkspaceProps.Builder workspaceId(String workspaceId)
CfnWorkspaceProps.getWorkspaceId()
workspaceId
- The ID of the workspace. This parameter is required.this
@Stability(value=Stable) public CfnWorkspaceProps.Builder description(String description)
CfnWorkspaceProps.getDescription()
description
- The description of the workspace.this
@Stability(value=Stable) public CfnWorkspaceProps.Builder tags(Map<String,String> tags)
CfnWorkspaceProps.getTags()
tags
- Metadata that you can use to manage the workspace.this
@Stability(value=Stable) public CfnWorkspaceProps build()
build
in interface software.amazon.jsii.Builder<CfnWorkspaceProps>
CfnWorkspaceProps
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.