Class CfnEntityRecognizerPropsMixin.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnEntityRecognizerPropsMixin.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.VpcConfigProperty>
- Enclosing interface:
CfnEntityRecognizerPropsMixin.VpcConfigProperty
@Stability(Stable)
public static final class CfnEntityRecognizerPropsMixin.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.VpcConfigProperty>
A builder for
CfnEntityRecognizerPropsMixin.VpcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnEntityRecognizerPropsMixin.VpcConfigProperty.getSecurityGroupIds()Sets the value ofCfnEntityRecognizerPropsMixin.VpcConfigProperty.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnEntityRecognizerPropsMixin.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnEntityRecognizerPropsMixin.VpcConfigProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- The ID number for a security group on an instance of your private VPC.- Returns:
this
-
subnets
@Stability(Stable) public CfnEntityRecognizerPropsMixin.VpcConfigProperty.Builder subnets(List<String> subnets) Sets the value ofCfnEntityRecognizerPropsMixin.VpcConfigProperty.getSubnets()- Parameters:
subnets- The ID for each subnet being used in your private VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntityRecognizerPropsMixin.VpcConfigProperty>- Returns:
- a new instance of
CfnEntityRecognizerPropsMixin.VpcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-