public static final class HostedZone.Builder
extends java.lang.Object
HostedZone
.Modifier and Type | Method and Description |
---|---|
HostedZone |
build() |
HostedZone.Builder |
comment(java.lang.String comment)
Any comments that you want to include about the hosted zone.
|
static HostedZone.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
HostedZone.Builder |
queryLogsLogGroupArn(java.lang.String queryLogsLogGroupArn)
The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.
|
HostedZone.Builder |
vpcs(java.util.List<? extends IVpc> vpcs)
A VPC that you want to associate with this hosted zone.
|
HostedZone.Builder |
zoneName(java.lang.String zoneName)
The name of the domain.
|
public static HostedZone.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.HostedZone.Builder
.public HostedZone.Builder zoneName(java.lang.String zoneName)
For resource record types that include a domain name, specify a fully qualified domain name.
zoneName
- The name of the domain. This parameter is required.this
public HostedZone.Builder comment(java.lang.String comment)
Default: none
comment
- Any comments that you want to include about the hosted zone. This parameter is required.this
public HostedZone.Builder queryLogsLogGroupArn(java.lang.String queryLogsLogGroupArn)
Default: disabled
queryLogsLogGroupArn
- The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to. This parameter is required.this
public HostedZone.Builder vpcs(java.util.List<? extends IVpc> vpcs)
When you specify this property, a private hosted zone will be created.
You can associate additional VPCs to this private zone using addVpc(vpc)
.
Default: public (no VPCs associated)
vpcs
- A VPC that you want to associate with this hosted zone. This parameter is required.this
public HostedZone build()