@Stability(value=Stable) public static final class ZoneDelegationRecord.Builder extends Object implements software.amazon.jsii.Builder<ZoneDelegationRecord>
ZoneDelegationRecord
.Modifier and Type | Method and Description |
---|---|
ZoneDelegationRecord |
build() |
ZoneDelegationRecord.Builder |
comment(String comment)
A comment to add on the record.
|
static ZoneDelegationRecord.Builder |
create(software.constructs.Construct scope,
String id) |
ZoneDelegationRecord.Builder |
nameServers(List<String> nameServers)
The name servers to report in the delegation records.
|
ZoneDelegationRecord.Builder |
recordName(String recordName)
The domain name for this record.
|
ZoneDelegationRecord.Builder |
ttl(Duration ttl)
The resource record cache time to live (TTL).
|
ZoneDelegationRecord.Builder |
zone(IHostedZone zone)
The hosted zone in which to define the new record.
|
@Stability(value=Stable) public static ZoneDelegationRecord.Builder create(software.constructs.Construct scope, String id)
scope
- This parameter is required.id
- This parameter is required.ZoneDelegationRecord.Builder
.@Stability(value=Stable) public ZoneDelegationRecord.Builder zone(IHostedZone zone)
zone
- The hosted zone in which to define the new record. This parameter is required.this
@Stability(value=Stable) public ZoneDelegationRecord.Builder comment(String comment)
Default: no comment
comment
- A comment to add on the record. This parameter is required.this
@Stability(value=Stable) public ZoneDelegationRecord.Builder recordName(String recordName)
Default: zone root
recordName
- The domain name for this record. This parameter is required.this
@Stability(value=Stable) public ZoneDelegationRecord.Builder ttl(Duration ttl)
Default: Duration.minutes(30)
ttl
- The resource record cache time to live (TTL). This parameter is required.this
@Stability(value=Stable) public ZoneDelegationRecord.Builder nameServers(List<String> nameServers)
nameServers
- The name servers to report in the delegation records. This parameter is required.this
@Stability(value=Stable) public ZoneDelegationRecord build()
build
in interface software.amazon.jsii.Builder<ZoneDelegationRecord>
Copyright © 2023. All rights reserved.