@Stability(value=Experimental) public static final class VpcLinkProps.Builder extends Object implements software.amazon.jsii.Builder<VpcLinkProps>
VpcLinkProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpcLinkProps |
build()
Builds the configured instance.
|
VpcLinkProps.Builder |
securityGroups(List<? extends ISecurityGroup> securityGroups)
Sets the value of
VpcLinkProps.getSecurityGroups() |
VpcLinkProps.Builder |
subnets(SubnetSelection subnets)
Sets the value of
VpcLinkProps.getSubnets() |
VpcLinkProps.Builder |
vpc(IVpc vpc)
Sets the value of
VpcLinkProps.getVpc() |
VpcLinkProps.Builder |
vpcLinkName(String vpcLinkName)
Sets the value of
VpcLinkProps.getVpcLinkName() |
@Stability(value=Experimental) public VpcLinkProps.Builder vpc(IVpc vpc)
VpcLinkProps.getVpc()vpc - The VPC in which the private resources reside. This parameter is required.this@Stability(value=Experimental) public VpcLinkProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
VpcLinkProps.getSecurityGroups()securityGroups - A list of security groups for the VPC link.this@Stability(value=Experimental) public VpcLinkProps.Builder subnets(SubnetSelection subnets)
VpcLinkProps.getSubnets()subnets - A list of subnets for the VPC link.this@Stability(value=Experimental) public VpcLinkProps.Builder vpcLinkName(String vpcLinkName)
VpcLinkProps.getVpcLinkName()vpcLinkName - The name used to label and identify the VPC link.this@Stability(value=Experimental) public VpcLinkProps build()
build in interface software.amazon.jsii.Builder<VpcLinkProps>VpcLinkPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.