@Stability(value=Experimental) public static final class HostedZoneProps.Builder extends Object implements software.amazon.jsii.Builder<HostedZoneProps>
HostedZoneProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostedZoneProps |
build()
Builds the configured instance.
|
HostedZoneProps.Builder |
comment(String comment)
Sets the value of
CommonHostedZoneProps.getComment() |
HostedZoneProps.Builder |
queryLogsLogGroupArn(String queryLogsLogGroupArn)
Sets the value of
CommonHostedZoneProps.getQueryLogsLogGroupArn() |
HostedZoneProps.Builder |
vpcs(List<? extends IVpc> vpcs)
Sets the value of
HostedZoneProps.getVpcs() |
HostedZoneProps.Builder |
zoneName(String zoneName)
Sets the value of
CommonHostedZoneProps.getZoneName() |
@Stability(value=Experimental) public HostedZoneProps.Builder vpcs(List<? extends IVpc> vpcs)
HostedZoneProps.getVpcs()
vpcs
- A VPC that you want to associate with this hosted zone.
When you specify
this property, a private hosted zone will be created.
You can associate additional VPCs to this private zone using addVpc(vpc)
.
this
@Stability(value=Experimental) public HostedZoneProps.Builder zoneName(String zoneName)
CommonHostedZoneProps.getZoneName()
zoneName
- The name of the domain. This parameter is required.
For resource record types that include a domain
name, specify a fully qualified domain name.this
@Stability(value=Experimental) public HostedZoneProps.Builder comment(String comment)
CommonHostedZoneProps.getComment()
comment
- Any comments that you want to include about the hosted zone.this
@Stability(value=Experimental) public HostedZoneProps.Builder queryLogsLogGroupArn(String queryLogsLogGroupArn)
CommonHostedZoneProps.getQueryLogsLogGroupArn()
queryLogsLogGroupArn
- The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.this
@Stability(value=Experimental) public HostedZoneProps build()
build
in interface software.amazon.jsii.Builder<HostedZoneProps>
HostedZoneProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.