HostedZoneContextQuery
Query to hosted zone context provider.
Initializer
import com.aliyun.ros.cdk.assembly.schema.HostedZoneContextQuery;
HostedZoneContextQuery.builder()
.account(java.lang.String)
.domainName(java.lang.String)
.region(java.lang.String)
// .privateZone(java.lang.Boolean)
// .vpcId(java.lang.String)
.build();
Properties
Name | Type | Description |
---|---|---|
account |
java.lang.String |
Query account. |
domainName |
java.lang.String |
The domain name e.g. example.com to lookup. |
region |
java.lang.String |
Query region. |
privateZone |
java.lang.Boolean |
True if the zone you want to find is a private hosted zone. |
vpcId |
java.lang.String |
The VPC ID to that the private zone must be associated with. |
account
Required
public java.lang.String getAccount();
- Type: java.lang.String
Query account.
domainName
Required
public java.lang.String getDomainName();
- Type: java.lang.String
The domain name e.g. example.com to lookup.
region
Required
public java.lang.String getRegion();
- Type: java.lang.String
Query region.
privateZone
Optional
public java.lang.Boolean getPrivateZone();
- Type: java.lang.Boolean
- Default: false
True if the zone you want to find is a private hosted zone.
vpcId
Optional
public java.lang.String getVpcId();
- Type: java.lang.String
- Default: Required if privateZone=true
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.