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