Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VpcConfig |
build()
Builds the configured instance.
|
VpcConfig.Builder |
subnets(SubnetSelection subnets)
Sets the value of
VpcConfig.getSubnets() |
VpcConfig.Builder |
vpc(IVpc vpc)
Sets the value of
VpcConfig.getVpc() |
@Stability(value=Stable) public VpcConfig.Builder vpc(IVpc vpc)
VpcConfig.getVpc()
vpc
- VPC. This parameter is required.this
@Stability(value=Stable) public VpcConfig.Builder subnets(SubnetSelection subnets)
VpcConfig.getSubnets()
subnets
- VPC subnets.this
@Stability(value=Stable) public VpcConfig build()
build
in interface software.amazon.jsii.Builder<VpcConfig>
VpcConfig
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.