Class CfnBrowserCustomPropsMixin.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnBrowserCustomPropsMixin.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrowserCustomPropsMixin.VpcConfigProperty>
- Enclosing interface:
CfnBrowserCustomPropsMixin.VpcConfigProperty
@Stability(Stable)
public static final class CfnBrowserCustomPropsMixin.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrowserCustomPropsMixin.VpcConfigProperty>
A builder for
CfnBrowserCustomPropsMixin.VpcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroups(List<String> securityGroups) Sets the value ofCfnBrowserCustomPropsMixin.VpcConfigProperty.getSecurityGroups()Sets the value ofCfnBrowserCustomPropsMixin.VpcConfigProperty.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroups
@Stability(Stable) public CfnBrowserCustomPropsMixin.VpcConfigProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnBrowserCustomPropsMixin.VpcConfigProperty.getSecurityGroups()- Parameters:
securityGroups- Security groups for VPC.- Returns:
this
-
subnets
@Stability(Stable) public CfnBrowserCustomPropsMixin.VpcConfigProperty.Builder subnets(List<String> subnets) Sets the value ofCfnBrowserCustomPropsMixin.VpcConfigProperty.getSubnets()- Parameters:
subnets- Subnets for VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrowserCustomPropsMixin.VpcConfigProperty>- Returns:
- a new instance of
CfnBrowserCustomPropsMixin.VpcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-