@Stability(value=Experimental) public static final class VpcContextQuery.Builder extends Object implements software.amazon.jsii.Builder<VpcContextQuery>
VpcContextQuery| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpcContextQuery.Builder |
account(String account)
Sets the value of
VpcContextQuery.getAccount() |
VpcContextQuery |
build()
Builds the configured instance.
|
VpcContextQuery.Builder |
filter(Map<String,String> filter)
Sets the value of
VpcContextQuery.getFilter() |
VpcContextQuery.Builder |
lookupRoleArn(String lookupRoleArn)
Sets the value of
VpcContextQuery.getLookupRoleArn() |
VpcContextQuery.Builder |
region(String region)
Sets the value of
VpcContextQuery.getRegion() |
VpcContextQuery.Builder |
returnAsymmetricSubnets(Boolean returnAsymmetricSubnets)
Sets the value of
VpcContextQuery.getReturnAsymmetricSubnets() |
VpcContextQuery.Builder |
subnetGroupNameTag(String subnetGroupNameTag)
Sets the value of
VpcContextQuery.getSubnetGroupNameTag() |
@Stability(value=Experimental) public VpcContextQuery.Builder account(String account)
VpcContextQuery.getAccount()account - Query account. This parameter is required.this@Stability(value=Experimental) public VpcContextQuery.Builder filter(Map<String,String> filter)
VpcContextQuery.getFilter()filter - Filters to apply to the VPC. This parameter is required.
Filter parameters are the same as passed to DescribeVpcs.this@Stability(value=Experimental) public VpcContextQuery.Builder region(String region)
VpcContextQuery.getRegion()region - Query region. This parameter is required.this@Stability(value=Experimental) public VpcContextQuery.Builder lookupRoleArn(String lookupRoleArn)
VpcContextQuery.getLookupRoleArn()lookupRoleArn - The ARN of the role that should be used to look up the missing values.this@Stability(value=Experimental) public VpcContextQuery.Builder returnAsymmetricSubnets(Boolean returnAsymmetricSubnets)
VpcContextQuery.getReturnAsymmetricSubnets()returnAsymmetricSubnets - Whether to populate the subnetGroups field of the VpcContextResponse, which contains potentially asymmetric subnet groups.this@Stability(value=Experimental) public VpcContextQuery.Builder subnetGroupNameTag(String subnetGroupNameTag)
VpcContextQuery.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 VpcContextQuery build()
build in interface software.amazon.jsii.Builder<VpcContextQuery>VpcContextQueryNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.