Class CfnBrowserSettingsMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnBrowserSettingsMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrowserSettingsMixinProps>
- Enclosing interface:
CfnBrowserSettingsMixinProps
@Stability(Stable)
public static final class CfnBrowserSettingsMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrowserSettingsMixinProps>
A builder for
CfnBrowserSettingsMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnBrowserSettingsMixinProps.getAdditionalEncryptionContext()additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnBrowserSettingsMixinProps.getAdditionalEncryptionContext()browserPolicy(String browserPolicy) Sets the value ofCfnBrowserSettingsMixinProps.getBrowserPolicy()build()Builds the configured instance.customerManagedKey(String customerManagedKey) Sets the value ofCfnBrowserSettingsMixinProps.getCustomerManagedKey()Sets the value ofCfnBrowserSettingsMixinProps.getTags()webContentFilteringPolicy(CfnBrowserSettingsPropsMixin.WebContentFilteringPolicyProperty webContentFilteringPolicy) Sets the value ofCfnBrowserSettingsMixinProps.getWebContentFilteringPolicy()webContentFilteringPolicy(IResolvable webContentFilteringPolicy) Sets the value ofCfnBrowserSettingsMixinProps.getWebContentFilteringPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalEncryptionContext
@Stability(Stable) public CfnBrowserSettingsMixinProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnBrowserSettingsMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- Additional encryption context of the browser settings.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnBrowserSettingsMixinProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnBrowserSettingsMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- Additional encryption context of the browser settings.- Returns:
this
-
browserPolicy
Sets the value ofCfnBrowserSettingsMixinProps.getBrowserPolicy()- Parameters:
browserPolicy- A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnBrowserSettingsMixinProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnBrowserSettingsMixinProps.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 ofCfnBrowserSettingsMixinProps.getTags()- Parameters:
tags- The tags to add to the browser settings resource. A tag is a key-value pair.- Returns:
this
-
webContentFilteringPolicy
@Stability(Stable) public CfnBrowserSettingsMixinProps.Builder webContentFilteringPolicy(IResolvable webContentFilteringPolicy) Sets the value ofCfnBrowserSettingsMixinProps.getWebContentFilteringPolicy()- Parameters:
webContentFilteringPolicy- The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.- Returns:
this
-
webContentFilteringPolicy
@Stability(Stable) public CfnBrowserSettingsMixinProps.Builder webContentFilteringPolicy(CfnBrowserSettingsPropsMixin.WebContentFilteringPolicyProperty webContentFilteringPolicy) Sets the value ofCfnBrowserSettingsMixinProps.getWebContentFilteringPolicy()- Parameters:
webContentFilteringPolicy- The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrowserSettingsMixinProps>- Returns:
- a new instance of
CfnBrowserSettingsMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-