@Stability(value=Stable) public static final class ZoneDelegationRecordProps.Builder extends Object implements software.amazon.jsii.Builder<ZoneDelegationRecordProps>
ZoneDelegationRecordProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ZoneDelegationRecordProps |
build()
Builds the configured instance.
|
ZoneDelegationRecordProps.Builder |
comment(String comment)
Sets the value of
RecordSetOptions.getComment() |
ZoneDelegationRecordProps.Builder |
deleteExisting(Boolean deleteExisting)
Sets the value of
RecordSetOptions.getDeleteExisting() |
ZoneDelegationRecordProps.Builder |
nameServers(List<String> nameServers)
Sets the value of
ZoneDelegationRecordProps.getNameServers() |
ZoneDelegationRecordProps.Builder |
recordName(String recordName)
Sets the value of
RecordSetOptions.getRecordName() |
ZoneDelegationRecordProps.Builder |
ttl(Duration ttl)
Sets the value of
RecordSetOptions.getTtl() |
ZoneDelegationRecordProps.Builder |
zone(IHostedZone zone)
Sets the value of
RecordSetOptions.getZone() |
@Stability(value=Stable) public ZoneDelegationRecordProps.Builder nameServers(List<String> nameServers)
ZoneDelegationRecordProps.getNameServers()nameServers - The name servers to report in the delegation records. This parameter is required.this@Stability(value=Stable) public ZoneDelegationRecordProps.Builder zone(IHostedZone zone)
RecordSetOptions.getZone()zone - The hosted zone in which to define the new record. This parameter is required.this@Stability(value=Stable) public ZoneDelegationRecordProps.Builder comment(String comment)
RecordSetOptions.getComment()comment - A comment to add on the record.this@Stability(value=Stable) public ZoneDelegationRecordProps.Builder deleteExisting(Boolean deleteExisting)
RecordSetOptions.getDeleteExisting()deleteExisting - Whether to delete the same record set in the hosted zone if it already exists.
This allows to deploy a new record set while minimizing the downtime because the
new record set will be created immediately after the existing one is deleted. It
also avoids "manual" actions to delete existing record sets.this@Stability(value=Stable) public ZoneDelegationRecordProps.Builder recordName(String recordName)
RecordSetOptions.getRecordName()recordName - The domain name for this record.this@Stability(value=Stable) public ZoneDelegationRecordProps.Builder ttl(Duration ttl)
RecordSetOptions.getTtl()ttl - The resource record cache time to live (TTL).this@Stability(value=Stable) public ZoneDelegationRecordProps build()
build in interface software.amazon.jsii.Builder<ZoneDelegationRecordProps>ZoneDelegationRecordPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.