Package services.workspacesweb
Class CfnUserSettings.Builder
java.lang.Object
services.workspacesweb.CfnUserSettings.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserSettings>
- Enclosing class:
CfnUserSettings
@Stability(Stable)
public static final class CfnUserSettings.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserSettings>
A fluent builder for
CfnUserSettings.-
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) additionalEncryptionContext(IResolvable additionalEncryptionContext) build()cookieSynchronizationConfiguration(CfnUserSettings.CookieSynchronizationConfigurationProperty cookieSynchronizationConfiguration) The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.cookieSynchronizationConfiguration(IResolvable cookieSynchronizationConfiguration) The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.copyAllowed(String copyAllowed) Specifies whether the user can copy text from the streaming session to the local device.static CfnUserSettings.BuildercustomerManagedKey(String customerManagedKey) disconnectTimeoutInMinutes(Number disconnectTimeoutInMinutes) The amount of time that a streaming session remains active after users disconnect.downloadAllowed(String downloadAllowed) Specifies whether the user can download files from the streaming session to the local device.idleDisconnectTimeoutInMinutes(Number 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.pasteAllowed(String pasteAllowed) Specifies whether the user can paste text from the local device to the streaming session.printAllowed(String printAllowed) Specifies whether the user can print to the local device.The tags to add to the user settings resource.uploadAllowed(String uploadAllowed) Specifies whether the user can upload files from the local device to the streaming session.
-
Method Details
-
create
@Stability(Stable) public static CfnUserSettings.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUserSettings.Builder.
-
copyAllowed
Specifies whether the user can copy text from the streaming session to the local device.- Parameters:
copyAllowed- Specifies whether the user can copy text from the streaming session to the local device. This parameter is required.- Returns:
this- See Also:
-
downloadAllowed
Specifies whether the user can download files from the streaming session to the local device.- Parameters:
downloadAllowed- Specifies whether the user can download files from the streaming session to the local device. This parameter is required.- Returns:
this- See Also:
-
pasteAllowed
Specifies whether the user can paste text from the local device to the streaming session.- Parameters:
pasteAllowed- Specifies whether the user can paste text from the local device to the streaming session. This parameter is required.- Returns:
this- See Also:
-
printAllowed
Specifies whether the user can print to the local device.- Parameters:
printAllowed- Specifies whether the user can print to the local device. This parameter is required.- Returns:
this- See Also:
-
uploadAllowed
Specifies whether the user can upload files from the local device to the streaming session.- Parameters:
uploadAllowed- Specifies whether the user can upload files from the local device to the streaming session. This parameter is required.- Returns:
this- See Also:
-
additionalEncryptionContext
@Stability(Stable) public CfnUserSettings.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) - Parameters:
additionalEncryptionContext- This parameter is required.- Returns:
this- See Also:
-
additionalEncryptionContext
@Stability(Stable) public CfnUserSettings.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) - Parameters:
additionalEncryptionContext- This parameter is required.- Returns:
this- See Also:
-
cookieSynchronizationConfiguration
@Stability(Stable) public CfnUserSettings.Builder cookieSynchronizationConfiguration(IResolvable cookieSynchronizationConfiguration) The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.- Parameters:
cookieSynchronizationConfiguration- The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser. This parameter is required.- Returns:
this- See Also:
-
cookieSynchronizationConfiguration
@Stability(Stable) public CfnUserSettings.Builder cookieSynchronizationConfiguration(CfnUserSettings.CookieSynchronizationConfigurationProperty cookieSynchronizationConfiguration) The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.- Parameters:
cookieSynchronizationConfiguration- The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser. This parameter is required.- Returns:
this- See Also:
-
customerManagedKey
- Parameters:
customerManagedKey- This parameter is required.- Returns:
this- See Also:
-
disconnectTimeoutInMinutes
@Stability(Stable) public CfnUserSettings.Builder disconnectTimeoutInMinutes(Number disconnectTimeoutInMinutes) The amount of time that a streaming session remains active after users disconnect.- Parameters:
disconnectTimeoutInMinutes- The amount of time that a streaming session remains active after users disconnect. This parameter is required.- Returns:
this- See Also:
-
idleDisconnectTimeoutInMinutes
@Stability(Stable) public CfnUserSettings.Builder idleDisconnectTimeoutInMinutes(Number 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.- 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. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to add to the user settings resource.A tag is a key-value pair.
- Parameters:
tags- The tags to add to the user settings resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserSettings>- Returns:
- a newly built instance of
CfnUserSettings.
-