@Stability(value=Experimental) public static final class VpcLookupOptions.Builder extends Object implements software.amazon.jsii.Builder<VpcLookupOptions>
VpcLookupOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpcLookupOptions |
build()
Builds the configured instance.
|
VpcLookupOptions.Builder |
isDefault(Boolean isDefault)
Sets the value of
VpcLookupOptions.getIsDefault() |
VpcLookupOptions.Builder |
subnetGroupNameTag(String subnetGroupNameTag)
Sets the value of
VpcLookupOptions.getSubnetGroupNameTag() |
VpcLookupOptions.Builder |
tags(Map<String,String> tags)
Sets the value of
VpcLookupOptions.getTags() |
VpcLookupOptions.Builder |
vpcId(String vpcId)
Sets the value of
VpcLookupOptions.getVpcId() |
VpcLookupOptions.Builder |
vpcName(String vpcName)
Sets the value of
VpcLookupOptions.getVpcName() |
@Stability(value=Experimental) public VpcLookupOptions.Builder isDefault(Boolean isDefault)
VpcLookupOptions.getIsDefault()isDefault - Whether to match the default VPC.this@Stability(value=Experimental) public VpcLookupOptions.Builder subnetGroupNameTag(String subnetGroupNameTag)
VpcLookupOptions.getSubnetGroupNameTag()subnetGroupNameTag - Optional tag for subnet group name.
If not provided, we'll look at the aws-cdk:subnet-name tag.
If the subnet does not have the specified tag,
we'll use its type as the name.this@Stability(value=Experimental) public VpcLookupOptions.Builder tags(Map<String,String> tags)
VpcLookupOptions.getTags()tags - Tags on the VPC.
The VPC must have all of these tagsthis@Stability(value=Experimental) public VpcLookupOptions.Builder vpcId(String vpcId)
VpcLookupOptions.getVpcId()vpcId - The ID of the VPC.
If given, will import exactly this VPC.this@Stability(value=Experimental) public VpcLookupOptions.Builder vpcName(String vpcName)
VpcLookupOptions.getVpcName()vpcName - The name of the VPC.
If given, will import the VPC with this name.this@Stability(value=Experimental) public VpcLookupOptions build()
build in interface software.amazon.jsii.Builder<VpcLookupOptions>VpcLookupOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.