@Stability(value=Experimental) public static final class HostedZoneContextQuery.Builder extends Object implements software.amazon.jsii.Builder<HostedZoneContextQuery>
HostedZoneContextQuery
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostedZoneContextQuery.Builder |
account(String account)
Sets the value of
HostedZoneContextQuery.getAccount() |
HostedZoneContextQuery |
build()
Builds the configured instance.
|
HostedZoneContextQuery.Builder |
domainName(String domainName)
Sets the value of
HostedZoneContextQuery.getDomainName() |
HostedZoneContextQuery.Builder |
lookupRoleArn(String lookupRoleArn)
Sets the value of
HostedZoneContextQuery.getLookupRoleArn() |
HostedZoneContextQuery.Builder |
privateZone(Boolean privateZone)
Sets the value of
HostedZoneContextQuery.getPrivateZone() |
HostedZoneContextQuery.Builder |
region(String region)
Sets the value of
HostedZoneContextQuery.getRegion() |
HostedZoneContextQuery.Builder |
vpcId(String vpcId)
Sets the value of
HostedZoneContextQuery.getVpcId() |
@Stability(value=Experimental) public HostedZoneContextQuery.Builder account(String account)
HostedZoneContextQuery.getAccount()
account
- Query account. This parameter is required.this
@Stability(value=Experimental) public HostedZoneContextQuery.Builder domainName(String domainName)
HostedZoneContextQuery.getDomainName()
domainName
- The domain name e.g. example.com to lookup. This parameter is required.this
@Stability(value=Experimental) public HostedZoneContextQuery.Builder region(String region)
HostedZoneContextQuery.getRegion()
region
- Query region. This parameter is required.this
@Stability(value=Experimental) public HostedZoneContextQuery.Builder lookupRoleArn(String lookupRoleArn)
HostedZoneContextQuery.getLookupRoleArn()
lookupRoleArn
- The ARN of the role that should be used to look up the missing values.this
@Stability(value=Experimental) public HostedZoneContextQuery.Builder privateZone(Boolean privateZone)
HostedZoneContextQuery.getPrivateZone()
privateZone
- True if the zone you want to find is a private hosted zone.this
@Stability(value=Experimental) public HostedZoneContextQuery.Builder vpcId(String vpcId)
HostedZoneContextQuery.getVpcId()
vpcId
- The VPC ID to that the private zone must be associated with.
If you provide VPC ID and privateZone is false, this will return no results
and raise an error.this
@Stability(value=Experimental) public HostedZoneContextQuery build()
build
in interface software.amazon.jsii.Builder<HostedZoneContextQuery>
HostedZoneContextQuery
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.