Class CfnBrowserCustom.BrowserEnterprisePolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnBrowserCustom.BrowserEnterprisePolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrowserCustom.BrowserEnterprisePolicyProperty>
- Enclosing interface:
CfnBrowserCustom.BrowserEnterprisePolicyProperty
@Stability(Stable)
public static final class CfnBrowserCustom.BrowserEnterprisePolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrowserCustom.BrowserEnterprisePolicyProperty>
A builder for
CfnBrowserCustom.BrowserEnterprisePolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.location(IResolvable location) Sets the value ofCfnBrowserCustom.BrowserEnterprisePolicyProperty.getLocation()location(CfnBrowserCustom.S3LocationProperty location) Sets the value ofCfnBrowserCustom.BrowserEnterprisePolicyProperty.getLocation()Sets the value ofCfnBrowserCustom.BrowserEnterprisePolicyProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Stable) public CfnBrowserCustom.BrowserEnterprisePolicyProperty.Builder location(IResolvable location) Sets the value ofCfnBrowserCustom.BrowserEnterprisePolicyProperty.getLocation()- Parameters:
location- S3 Location Configuration. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public CfnBrowserCustom.BrowserEnterprisePolicyProperty.Builder location(CfnBrowserCustom.S3LocationProperty location) Sets the value ofCfnBrowserCustom.BrowserEnterprisePolicyProperty.getLocation()- Parameters:
location- S3 Location Configuration. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public CfnBrowserCustom.BrowserEnterprisePolicyProperty.Builder type(String type) Sets the value ofCfnBrowserCustom.BrowserEnterprisePolicyProperty.getType()- Parameters:
type- The type of browser enterprise policy. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrowserCustom.BrowserEnterprisePolicyProperty>- Returns:
- a new instance of
CfnBrowserCustom.BrowserEnterprisePolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-