public static final class CfnDataSource.DataSourceVpcConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.DataSourceVpcConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataSource.DataSourceVpcConfigurationProperty |
build()
Builds the configured instance.
|
CfnDataSource.DataSourceVpcConfigurationProperty.Builder |
securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
Sets the value of
CfnDataSource.DataSourceVpcConfigurationProperty.getSecurityGroupIds() |
CfnDataSource.DataSourceVpcConfigurationProperty.Builder |
subnetIds(java.util.List<java.lang.String> subnetIds)
Sets the value of
CfnDataSource.DataSourceVpcConfigurationProperty.getSubnetIds() |
public CfnDataSource.DataSourceVpcConfigurationProperty.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
CfnDataSource.DataSourceVpcConfigurationProperty.getSecurityGroupIds()
securityGroupIds
- A list of identifiers of security groups within your Amazon VPC. This parameter is required.
The security groups should enable Amazon Kendra to connect to the data source.this
public CfnDataSource.DataSourceVpcConfigurationProperty.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
CfnDataSource.DataSourceVpcConfigurationProperty.getSubnetIds()
subnetIds
- A list of identifiers for subnets within your Amazon VPC. This parameter is required.
The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.this
public CfnDataSource.DataSourceVpcConfigurationProperty build()
CfnDataSource.DataSourceVpcConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided