Class CfnWorkspaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.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 TypeMethodDescriptionassociations(List<String> associations) Sets the value ofCfnWorkspaceProps.getAssociations()build()Builds the configured instance.description(String description) Sets the value ofCfnWorkspaceProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnWorkspaceProps.getInstanceArn()Sets the value ofCfnWorkspaceProps.getMedia()media(IResolvable media) Sets the value ofCfnWorkspaceProps.getMedia()Sets the value ofCfnWorkspaceProps.getName()Sets the value ofCfnWorkspaceProps.getPages()pages(IResolvable pages) Sets the value ofCfnWorkspaceProps.getPages()Sets the value ofCfnWorkspaceProps.getTags()theme(IResolvable theme) Sets the value ofCfnWorkspaceProps.getTheme()Sets the value ofCfnWorkspaceProps.getTheme()Sets the value ofCfnWorkspaceProps.getTitle()visibility(String visibility) Sets the value ofCfnWorkspaceProps.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnWorkspaceProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnWorkspaceProps.getName()- Parameters:
name- The name of the workspace. This parameter is required.- Returns:
this
-
associations
Sets the value ofCfnWorkspaceProps.getAssociations()- Parameters:
associations- The resource ARNs associated with the workspace.- Returns:
this
-
description
Sets the value ofCfnWorkspaceProps.getDescription()- Parameters:
description- The description of the workspace.- Returns:
this
-
media
Sets the value ofCfnWorkspaceProps.getMedia()- Parameters:
media- The media items for the workspace.- Returns:
this
-
media
Sets the value ofCfnWorkspaceProps.getMedia()- Parameters:
media- The media items for the workspace.- Returns:
this
-
pages
Sets the value ofCfnWorkspaceProps.getPages()- Parameters:
pages- The pages associated with the workspace.- Returns:
this
-
pages
Sets the value ofCfnWorkspaceProps.getPages()- Parameters:
pages- The pages associated with the workspace.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for the workspace.- Returns:
this
-
theme
Sets the value ofCfnWorkspaceProps.getTheme()- Parameters:
theme- The theme configuration for the workspace, including colors and styling.- Returns:
this
-
theme
@Stability(Stable) public CfnWorkspaceProps.Builder theme(CfnWorkspace.WorkspaceThemeProperty theme) Sets the value ofCfnWorkspaceProps.getTheme()- Parameters:
theme- The theme configuration for the workspace, including colors and styling.- Returns:
this
-
title
Sets the value ofCfnWorkspaceProps.getTitle()- Parameters:
title- The title displayed for the workspace.- Returns:
this
-
visibility
Sets the value ofCfnWorkspaceProps.getVisibility()- Parameters:
visibility- Controls who can access the workspace. Valid values are:ALL(all users),ASSIGNED(only assigned users and routing profiles), andNONE(not visible).- 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
-