Class CfnBrowserSettings.WebContentFilteringPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnBrowserSettings.WebContentFilteringPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrowserSettings.WebContentFilteringPolicyProperty>
- Enclosing interface:
CfnBrowserSettings.WebContentFilteringPolicyProperty
@Stability(Stable)
public static final class CfnBrowserSettings.WebContentFilteringPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrowserSettings.WebContentFilteringPolicyProperty>
A builder for
CfnBrowserSettings.WebContentFilteringPolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedUrls(List<String> allowedUrls) Sets the value ofCfnBrowserSettings.WebContentFilteringPolicyProperty.getAllowedUrls()blockedCategories(List<String> blockedCategories) blockedUrls(List<String> blockedUrls) Sets the value ofCfnBrowserSettings.WebContentFilteringPolicyProperty.getBlockedUrls()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedUrls
@Stability(Stable) public CfnBrowserSettings.WebContentFilteringPolicyProperty.Builder allowedUrls(List<String> allowedUrls) Sets the value ofCfnBrowserSettings.WebContentFilteringPolicyProperty.getAllowedUrls()- Parameters:
allowedUrls- URLs and domains that are always accessible to end users.- Returns:
this
-
blockedCategories
@Stability(Stable) public CfnBrowserSettings.WebContentFilteringPolicyProperty.Builder blockedCategories(List<String> blockedCategories) - Parameters:
blockedCategories- Categories of websites that are blocked on the end user's browsers.- Returns:
this
-
blockedUrls
@Stability(Stable) public CfnBrowserSettings.WebContentFilteringPolicyProperty.Builder blockedUrls(List<String> blockedUrls) Sets the value ofCfnBrowserSettings.WebContentFilteringPolicyProperty.getBlockedUrls()- Parameters:
blockedUrls- URLs and domains that end users cannot access.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrowserSettings.WebContentFilteringPolicyProperty>- Returns:
- a new instance of
CfnBrowserSettings.WebContentFilteringPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-