Class CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) - Parameters:
securityGroupIds- A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q Business to connect to the data source.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty.Builder subnetIds(List<String> subnetIds) - Parameters:
subnetIds- A list of identifiers for subnets within your Amazon VPC. 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.DataSourceVpcConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-