Class CfnDocumentClassifier.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.comprehend.CfnDocumentClassifier.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentClassifier.VpcConfigProperty>
- Enclosing interface:
CfnDocumentClassifier.VpcConfigProperty
@Stability(Stable)
public static final class CfnDocumentClassifier.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentClassifier.VpcConfigProperty>
A builder for
CfnDocumentClassifier.VpcConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnDocumentClassifier.VpcConfigProperty.getSecurityGroupIds()
Sets the value ofCfnDocumentClassifier.VpcConfigProperty.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnDocumentClassifier.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnDocumentClassifier.VpcConfigProperty.getSecurityGroupIds()
- Parameters:
securityGroupIds
- The ID number for a security group on an instance of your private VPC. This parameter is required. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC .- Returns:
this
-
subnets
@Stability(Stable) public CfnDocumentClassifier.VpcConfigProperty.Builder subnets(List<String> subnets) Sets the value ofCfnDocumentClassifier.VpcConfigProperty.getSubnets()
- Parameters:
subnets
- The ID for each subnet being used in your private VPC. This parameter is required. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDocumentClassifier.VpcConfigProperty>
- Returns:
- a new instance of
CfnDocumentClassifier.VpcConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-