Class CfnUserSettingsPropsMixin.ToolbarConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnUserSettingsPropsMixin.ToolbarConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserSettingsPropsMixin.ToolbarConfigurationProperty>
- Enclosing interface:
CfnUserSettingsPropsMixin.ToolbarConfigurationProperty
@Stability(Stable)
public static final class CfnUserSettingsPropsMixin.ToolbarConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserSettingsPropsMixin.ToolbarConfigurationProperty>
A builder for
CfnUserSettingsPropsMixin.ToolbarConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hiddenToolbarItems(List<String> hiddenToolbarItems) maxDisplayResolution(String maxDisplayResolution) toolbarType(String toolbarType) Sets the value ofCfnUserSettingsPropsMixin.ToolbarConfigurationProperty.getToolbarType()visualMode(String visualMode) Sets the value ofCfnUserSettingsPropsMixin.ToolbarConfigurationProperty.getVisualMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxDisplayResolution
@Stability(Stable) public CfnUserSettingsPropsMixin.ToolbarConfigurationProperty.Builder maxDisplayResolution(String maxDisplayResolution) - Parameters:
maxDisplayResolution- The maximum display resolution that is allowed for the session.- Returns:
this
-
toolbarType
@Stability(Stable) public CfnUserSettingsPropsMixin.ToolbarConfigurationProperty.Builder toolbarType(String toolbarType) Sets the value ofCfnUserSettingsPropsMixin.ToolbarConfigurationProperty.getToolbarType()- Parameters:
toolbarType- The type of toolbar displayed during the session.- Returns:
this
-
visualMode
@Stability(Stable) public CfnUserSettingsPropsMixin.ToolbarConfigurationProperty.Builder visualMode(String visualMode) Sets the value ofCfnUserSettingsPropsMixin.ToolbarConfigurationProperty.getVisualMode()- Parameters:
visualMode- The visual mode of the toolbar.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserSettingsPropsMixin.ToolbarConfigurationProperty>- Returns:
- a new instance of
CfnUserSettingsPropsMixin.ToolbarConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided