Class CfnUserSettingsMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnUserSettingsMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserSettingsMixinProps>
- Enclosing interface:
CfnUserSettingsMixinProps
@Stability(Stable)
public static final class CfnUserSettingsMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserSettingsMixinProps>
A builder for
CfnUserSettingsMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnUserSettingsMixinProps.getAdditionalEncryptionContext()additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnUserSettingsMixinProps.getAdditionalEncryptionContext()brandingConfiguration(CfnUserSettingsPropsMixin.BrandingConfigurationProperty brandingConfiguration) Sets the value ofCfnUserSettingsMixinProps.getBrandingConfiguration()brandingConfiguration(IResolvable brandingConfiguration) Sets the value ofCfnUserSettingsMixinProps.getBrandingConfiguration()build()Builds the configured instance.cookieSynchronizationConfiguration(CfnUserSettingsPropsMixin.CookieSynchronizationConfigurationProperty cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsMixinProps.getCookieSynchronizationConfiguration()cookieSynchronizationConfiguration(IResolvable cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsMixinProps.getCookieSynchronizationConfiguration()copyAllowed(String copyAllowed) Sets the value ofCfnUserSettingsMixinProps.getCopyAllowed()customerManagedKey(String customerManagedKey) Sets the value ofCfnUserSettingsMixinProps.getCustomerManagedKey()deepLinkAllowed(String deepLinkAllowed) Sets the value ofCfnUserSettingsMixinProps.getDeepLinkAllowed()disconnectTimeoutInMinutes(Number disconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsMixinProps.getDisconnectTimeoutInMinutes()downloadAllowed(String downloadAllowed) Sets the value ofCfnUserSettingsMixinProps.getDownloadAllowed()idleDisconnectTimeoutInMinutes(Number idleDisconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsMixinProps.getIdleDisconnectTimeoutInMinutes()pasteAllowed(String pasteAllowed) Sets the value ofCfnUserSettingsMixinProps.getPasteAllowed()printAllowed(String printAllowed) Sets the value ofCfnUserSettingsMixinProps.getPrintAllowed()Sets the value ofCfnUserSettingsMixinProps.getTags()toolbarConfiguration(CfnUserSettingsPropsMixin.ToolbarConfigurationProperty toolbarConfiguration) Sets the value ofCfnUserSettingsMixinProps.getToolbarConfiguration()toolbarConfiguration(IResolvable toolbarConfiguration) Sets the value ofCfnUserSettingsMixinProps.getToolbarConfiguration()uploadAllowed(String uploadAllowed) Sets the value ofCfnUserSettingsMixinProps.getUploadAllowed()webAuthnAllowed(String webAuthnAllowed) Sets the value ofCfnUserSettingsMixinProps.getWebAuthnAllowed()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalEncryptionContext
@Stability(Stable) public CfnUserSettingsMixinProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnUserSettingsMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- The additional encryption context of the user settings.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnUserSettingsMixinProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnUserSettingsMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- The additional encryption context of the user settings.- Returns:
this
-
brandingConfiguration
@Stability(Stable) public CfnUserSettingsMixinProps.Builder brandingConfiguration(IResolvable brandingConfiguration) Sets the value ofCfnUserSettingsMixinProps.getBrandingConfiguration()- Parameters:
brandingConfiguration- The branding configuration that customizes the appearance of the web portal for end users. This includes a custom logo, favicon, wallpaper, localized strings, color theme, and an optional terms of service.- Returns:
this
-
brandingConfiguration
@Stability(Stable) public CfnUserSettingsMixinProps.Builder brandingConfiguration(CfnUserSettingsPropsMixin.BrandingConfigurationProperty brandingConfiguration) Sets the value ofCfnUserSettingsMixinProps.getBrandingConfiguration()- Parameters:
brandingConfiguration- The branding configuration that customizes the appearance of the web portal for end users. This includes a custom logo, favicon, wallpaper, localized strings, color theme, and an optional terms of service.- Returns:
this
-
cookieSynchronizationConfiguration
@Stability(Stable) public CfnUserSettingsMixinProps.Builder cookieSynchronizationConfiguration(IResolvable cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsMixinProps.getCookieSynchronizationConfiguration()- Parameters:
cookieSynchronizationConfiguration- The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.- Returns:
this
-
cookieSynchronizationConfiguration
@Stability(Stable) public CfnUserSettingsMixinProps.Builder cookieSynchronizationConfiguration(CfnUserSettingsPropsMixin.CookieSynchronizationConfigurationProperty cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsMixinProps.getCookieSynchronizationConfiguration()- Parameters:
cookieSynchronizationConfiguration- The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.- Returns:
this
-
copyAllowed
Sets the value ofCfnUserSettingsMixinProps.getCopyAllowed()- Parameters:
copyAllowed- Specifies whether the user can copy text from the streaming session to the local device.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnUserSettingsMixinProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnUserSettingsMixinProps.getCustomerManagedKey()- Parameters:
customerManagedKey- The customer managed key used to encrypt sensitive information in the user settings.- Returns:
this
-
deepLinkAllowed
Sets the value ofCfnUserSettingsMixinProps.getDeepLinkAllowed()- Parameters:
deepLinkAllowed- Specifies whether the user can use deep links that open automatically when connecting to a session.- Returns:
this
-
disconnectTimeoutInMinutes
@Stability(Stable) public CfnUserSettingsMixinProps.Builder disconnectTimeoutInMinutes(Number disconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsMixinProps.getDisconnectTimeoutInMinutes()- Parameters:
disconnectTimeoutInMinutes- The amount of time that a streaming session remains active after users disconnect.- Returns:
this
-
downloadAllowed
Sets the value ofCfnUserSettingsMixinProps.getDownloadAllowed()- Parameters:
downloadAllowed- Specifies whether the user can download files from the streaming session to the local device.- Returns:
this
-
idleDisconnectTimeoutInMinutes
@Stability(Stable) public CfnUserSettingsMixinProps.Builder idleDisconnectTimeoutInMinutes(Number idleDisconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsMixinProps.getIdleDisconnectTimeoutInMinutes()- Parameters:
idleDisconnectTimeoutInMinutes- The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.- Returns:
this
-
pasteAllowed
Sets the value ofCfnUserSettingsMixinProps.getPasteAllowed()- Parameters:
pasteAllowed- Specifies whether the user can paste text from the local device to the streaming session.- Returns:
this
-
printAllowed
Sets the value ofCfnUserSettingsMixinProps.getPrintAllowed()- Parameters:
printAllowed- Specifies whether the user can print to the local device.- Returns:
this
-
tags
Sets the value ofCfnUserSettingsMixinProps.getTags()- Parameters:
tags- The tags to add to the user settings resource. A tag is a key-value pair.- Returns:
this
-
toolbarConfiguration
@Stability(Stable) public CfnUserSettingsMixinProps.Builder toolbarConfiguration(IResolvable toolbarConfiguration) Sets the value ofCfnUserSettingsMixinProps.getToolbarConfiguration()- Parameters:
toolbarConfiguration- The configuration of the toolbar. This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.- Returns:
this
-
toolbarConfiguration
@Stability(Stable) public CfnUserSettingsMixinProps.Builder toolbarConfiguration(CfnUserSettingsPropsMixin.ToolbarConfigurationProperty toolbarConfiguration) Sets the value ofCfnUserSettingsMixinProps.getToolbarConfiguration()- Parameters:
toolbarConfiguration- The configuration of the toolbar. This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.- Returns:
this
-
uploadAllowed
Sets the value ofCfnUserSettingsMixinProps.getUploadAllowed()- Parameters:
uploadAllowed- Specifies whether the user can upload files from the local device to the streaming session.- Returns:
this
-
webAuthnAllowed
Sets the value ofCfnUserSettingsMixinProps.getWebAuthnAllowed()- Parameters:
webAuthnAllowed- Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserSettingsMixinProps>- Returns:
- a new instance of
CfnUserSettingsMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-