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