Class CfnWorkspace.Builder
java.lang.Object
software.amazon.awscdk.services.connect.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 TypeMethodDescriptionassociations(List<String> associations) The resource ARNs associated with the workspace.build()static CfnWorkspace.Builderdescription(String description) The description of the workspace.instanceArn(String instanceArn) The Amazon Resource Name (ARN) of the instance.The media items for the workspace.media(IResolvable media) The media items for the workspace.The name of the workspace.The pages associated with the workspace.pages(IResolvable pages) The pages associated with the workspace.The tags used to organize, track, or control access for the workspace.theme(IResolvable theme) The theme configuration for the workspace, including colors and styling.The theme configuration for the workspace, including colors and styling.The title displayed for the workspace.visibility(String visibility) Controls who can access 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.
-
instanceArn
The Amazon Resource Name (ARN) of the instance.- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this- See Also:
-
name
The name of the workspace.- Parameters:
name- The name of the workspace. This parameter is required.- Returns:
this- See Also:
-
associations
The resource ARNs associated with the workspace.- Parameters:
associations- The resource ARNs associated with 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:
-
media
The media items for the workspace.- Parameters:
media- The media items for the workspace. This parameter is required.- Returns:
this- See Also:
-
media
The media items for the workspace.- Parameters:
media- The media items for the workspace. This parameter is required.- Returns:
this- See Also:
-
pages
The pages associated with the workspace.- Parameters:
pages- The pages associated with the workspace. This parameter is required.- Returns:
this- See Also:
-
pages
The pages associated with the workspace.- Parameters:
pages- The pages associated with the workspace. This parameter is required.- Returns:
this- See Also:
-
tags
The tags used to organize, track, or control access for the workspace.- Parameters:
tags- The tags used to organize, track, or control access for the workspace. This parameter is required.- Returns:
this- See Also:
-
theme
The theme configuration for the workspace, including colors and styling.- Parameters:
theme- The theme configuration for the workspace, including colors and styling. This parameter is required.- Returns:
this- See Also:
-
theme
The theme configuration for the workspace, including colors and styling.- Parameters:
theme- The theme configuration for the workspace, including colors and styling. This parameter is required.- Returns:
this- See Also:
-
title
The title displayed for the workspace.- Parameters:
title- The title displayed for the workspace. This parameter is required.- Returns:
this- See Also:
-
visibility
Controls who can access the workspace.Valid values are:
ALL(all users),ASSIGNED(only assigned users and routing profiles), andNONE(not visible).- Parameters:
visibility- Controls who can access the workspace. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace>- Returns:
- a newly built instance of
CfnWorkspace.
-