@Stability(value=Stable) public static final class NsRecordProps.Builder extends Object implements software.amazon.jsii.Builder<NsRecordProps>
NsRecordProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NsRecordProps |
build()
Builds the configured instance.
|
NsRecordProps.Builder |
comment(String comment)
Sets the value of
RecordSetOptions.getComment() |
NsRecordProps.Builder |
recordName(String recordName)
Sets the value of
RecordSetOptions.getRecordName() |
NsRecordProps.Builder |
ttl(Duration ttl)
Sets the value of
RecordSetOptions.getTtl() |
NsRecordProps.Builder |
values(List<String> values)
Sets the value of
NsRecordProps.getValues() |
NsRecordProps.Builder |
zone(IHostedZone zone)
Sets the value of
RecordSetOptions.getZone() |
@Stability(value=Stable) public NsRecordProps.Builder values(List<String> values)
NsRecordProps.getValues()values - The NS values. This parameter is required.this@Stability(value=Stable) public NsRecordProps.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 NsRecordProps.Builder comment(String comment)
RecordSetOptions.getComment()comment - A comment to add on the record.this@Stability(value=Stable) public NsRecordProps.Builder recordName(String recordName)
RecordSetOptions.getRecordName()recordName - The domain name for this record.this@Stability(value=Stable) public NsRecordProps.Builder ttl(Duration ttl)
RecordSetOptions.getTtl()ttl - The resource record cache time to live (TTL).this@Stability(value=Stable) public NsRecordProps build()
build in interface software.amazon.jsii.Builder<NsRecordProps>NsRecordPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.