Class CfnBrowserSettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnBrowserSettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrowserSettingsProps>
- Enclosing interface:
CfnBrowserSettingsProps
@Stability(Stable)
public static final class CfnBrowserSettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrowserSettingsProps>
A builder for
CfnBrowserSettingsProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext
(Map<String, String> additionalEncryptionContext) Sets the value ofCfnBrowserSettingsProps.getAdditionalEncryptionContext()
additionalEncryptionContext
(IResolvable additionalEncryptionContext) Sets the value ofCfnBrowserSettingsProps.getAdditionalEncryptionContext()
browserPolicy
(String browserPolicy) Sets the value ofCfnBrowserSettingsProps.getBrowserPolicy()
build()
Builds the configured instance.customerManagedKey
(String customerManagedKey) Sets the value ofCfnBrowserSettingsProps.getCustomerManagedKey()
Sets the value ofCfnBrowserSettingsProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalEncryptionContext
@Stability(Stable) public CfnBrowserSettingsProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnBrowserSettingsProps.getAdditionalEncryptionContext()
- Parameters:
additionalEncryptionContext
- Additional encryption context of the browser settings.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnBrowserSettingsProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnBrowserSettingsProps.getAdditionalEncryptionContext()
- Parameters:
additionalEncryptionContext
- Additional encryption context of the browser settings.- Returns:
this
-
browserPolicy
Sets the value ofCfnBrowserSettingsProps.getBrowserPolicy()
- Parameters:
browserPolicy
- A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnBrowserSettingsProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnBrowserSettingsProps.getCustomerManagedKey()
- Parameters:
customerManagedKey
- The custom managed key of the browser settings. Pattern :^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$
- Returns:
this
-
tags
Sets the value ofCfnBrowserSettingsProps.getTags()
- Parameters:
tags
- The tags to add to the browser settings resource. A tag is a key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBrowserSettingsProps>
- Returns:
- a new instance of
CfnBrowserSettingsProps
- Throws:
NullPointerException
- if any required attribute was not provided
-