Class CfnWorkspaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.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 TypeMethodDescriptionassociations(List<String> associations) Sets the value ofCfnWorkspaceMixinProps.getAssociations()build()Builds the configured instance.description(String description) Sets the value ofCfnWorkspaceMixinProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnWorkspaceMixinProps.getInstanceArn()Sets the value ofCfnWorkspaceMixinProps.getMedia()media(IResolvable media) Sets the value ofCfnWorkspaceMixinProps.getMedia()Sets the value ofCfnWorkspaceMixinProps.getName()Sets the value ofCfnWorkspaceMixinProps.getPages()pages(IResolvable pages) Sets the value ofCfnWorkspaceMixinProps.getPages()Sets the value ofCfnWorkspaceMixinProps.getTags()Sets the value ofCfnWorkspaceMixinProps.getTheme()theme(IResolvable theme) Sets the value ofCfnWorkspaceMixinProps.getTheme()Sets the value ofCfnWorkspaceMixinProps.getTitle()visibility(String visibility) Sets the value ofCfnWorkspaceMixinProps.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associations
Sets the value ofCfnWorkspaceMixinProps.getAssociations()- Parameters:
associations- The resource ARNs associated with the workspace.- Returns:
this
-
description
Sets the value ofCfnWorkspaceMixinProps.getDescription()- Parameters:
description- The description of the workspace.- Returns:
this
-
instanceArn
Sets the value ofCfnWorkspaceMixinProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance.- Returns:
this
-
media
Sets the value ofCfnWorkspaceMixinProps.getMedia()- Parameters:
media- The media items for the workspace.- Returns:
this
-
media
Sets the value ofCfnWorkspaceMixinProps.getMedia()- Parameters:
media- The media items for the workspace.- Returns:
this
-
name
Sets the value ofCfnWorkspaceMixinProps.getName()- Parameters:
name- The name of the workspace.- Returns:
this
-
pages
Sets the value ofCfnWorkspaceMixinProps.getPages()- Parameters:
pages- The pages associated with the workspace.- Returns:
this
-
pages
Sets the value ofCfnWorkspaceMixinProps.getPages()- Parameters:
pages- The pages associated with the workspace.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for the workspace.- Returns:
this
-
theme
Sets the value ofCfnWorkspaceMixinProps.getTheme()- Parameters:
theme- The theme configuration for the workspace, including colors and styling.- Returns:
this
-
theme
@Stability(Stable) public CfnWorkspaceMixinProps.Builder theme(CfnWorkspacePropsMixin.WorkspaceThemeProperty theme) Sets the value ofCfnWorkspaceMixinProps.getTheme()- Parameters:
theme- The theme configuration for the workspace, including colors and styling.- Returns:
this
-
title
Sets the value ofCfnWorkspaceMixinProps.getTitle()- Parameters:
title- The title displayed for the workspace.- Returns:
this
-
visibility
Sets the value ofCfnWorkspaceMixinProps.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<CfnWorkspaceMixinProps>- Returns:
- a new instance of
CfnWorkspaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-