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