Package services.workspacesweb
Class CfnUserSettingsProps.Builder
java.lang.Object
services.workspacesweb.CfnUserSettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserSettingsProps>
- Enclosing interface:
CfnUserSettingsProps
@Stability(Stable)
public static final class CfnUserSettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserSettingsProps>
A builder for
CfnUserSettingsProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext
(Map<String, String> additionalEncryptionContext) Sets the value ofCfnUserSettingsProps.getAdditionalEncryptionContext()
additionalEncryptionContext
(IResolvable additionalEncryptionContext) Sets the value ofCfnUserSettingsProps.getAdditionalEncryptionContext()
build()
Builds the configured instance.cookieSynchronizationConfiguration
(CfnUserSettings.CookieSynchronizationConfigurationProperty cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsProps.getCookieSynchronizationConfiguration()
cookieSynchronizationConfiguration
(IResolvable cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsProps.getCookieSynchronizationConfiguration()
copyAllowed
(String copyAllowed) Sets the value ofCfnUserSettingsProps.getCopyAllowed()
customerManagedKey
(String customerManagedKey) Sets the value ofCfnUserSettingsProps.getCustomerManagedKey()
disconnectTimeoutInMinutes
(Number disconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsProps.getDisconnectTimeoutInMinutes()
downloadAllowed
(String downloadAllowed) Sets the value ofCfnUserSettingsProps.getDownloadAllowed()
idleDisconnectTimeoutInMinutes
(Number idleDisconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsProps.getIdleDisconnectTimeoutInMinutes()
pasteAllowed
(String pasteAllowed) Sets the value ofCfnUserSettingsProps.getPasteAllowed()
printAllowed
(String printAllowed) Sets the value ofCfnUserSettingsProps.getPrintAllowed()
Sets the value ofCfnUserSettingsProps.getTags()
uploadAllowed
(String uploadAllowed) Sets the value ofCfnUserSettingsProps.getUploadAllowed()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copyAllowed
Sets the value ofCfnUserSettingsProps.getCopyAllowed()
- Parameters:
copyAllowed
- Specifies whether the user can copy text from the streaming session to the local device. This parameter is required.- Returns:
this
-
downloadAllowed
Sets the value ofCfnUserSettingsProps.getDownloadAllowed()
- Parameters:
downloadAllowed
- Specifies whether the user can download files from the streaming session to the local device. This parameter is required.- Returns:
this
-
pasteAllowed
Sets the value ofCfnUserSettingsProps.getPasteAllowed()
- Parameters:
pasteAllowed
- Specifies whether the user can paste text from the local device to the streaming session. This parameter is required.- Returns:
this
-
printAllowed
Sets the value ofCfnUserSettingsProps.getPrintAllowed()
- Parameters:
printAllowed
- Specifies whether the user can print to the local device. This parameter is required.- Returns:
this
-
uploadAllowed
Sets the value ofCfnUserSettingsProps.getUploadAllowed()
- Parameters:
uploadAllowed
- Specifies whether the user can upload files from the local device to the streaming session. This parameter is required.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnUserSettingsProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnUserSettingsProps.getAdditionalEncryptionContext()
- Parameters:
additionalEncryptionContext
- the value to be set.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnUserSettingsProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnUserSettingsProps.getAdditionalEncryptionContext()
- Parameters:
additionalEncryptionContext
- the value to be set.- Returns:
this
-
cookieSynchronizationConfiguration
@Stability(Stable) public CfnUserSettingsProps.Builder cookieSynchronizationConfiguration(IResolvable cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsProps.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 CfnUserSettingsProps.Builder cookieSynchronizationConfiguration(CfnUserSettings.CookieSynchronizationConfigurationProperty cookieSynchronizationConfiguration) Sets the value ofCfnUserSettingsProps.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
-
customerManagedKey
@Stability(Stable) public CfnUserSettingsProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnUserSettingsProps.getCustomerManagedKey()
- Parameters:
customerManagedKey
- the value to be set.- Returns:
this
-
disconnectTimeoutInMinutes
@Stability(Stable) public CfnUserSettingsProps.Builder disconnectTimeoutInMinutes(Number disconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsProps.getDisconnectTimeoutInMinutes()
- Parameters:
disconnectTimeoutInMinutes
- The amount of time that a streaming session remains active after users disconnect.- Returns:
this
-
idleDisconnectTimeoutInMinutes
@Stability(Stable) public CfnUserSettingsProps.Builder idleDisconnectTimeoutInMinutes(Number idleDisconnectTimeoutInMinutes) Sets the value ofCfnUserSettingsProps.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
-
tags
Sets the value ofCfnUserSettingsProps.getTags()
- Parameters:
tags
- The tags to add to the user settings resource. A tag is a key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserSettingsProps>
- Returns:
- a new instance of
CfnUserSettingsProps
- Throws:
NullPointerException
- if any required attribute was not provided
-