| Modifier and Type | Method and Description |
|---|---|
TxtRecord |
build() |
TxtRecord.Builder |
comment(String comment)
A comment to add on the record.
|
static TxtRecord.Builder |
create(software.constructs.Construct scope,
String id) |
TxtRecord.Builder |
recordName(String recordName)
The domain name for this record.
|
TxtRecord.Builder |
ttl(Duration ttl)
The resource record cache time to live (TTL).
|
TxtRecord.Builder |
values(List<String> values)
The text values.
|
TxtRecord.Builder |
zone(IHostedZone zone)
The hosted zone in which to define the new record.
|
@Stability(value=Stable) public static TxtRecord.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.TxtRecord.Builder.@Stability(value=Stable) public TxtRecord.Builder zone(IHostedZone zone)
zone - The hosted zone in which to define the new record. This parameter is required.this@Stability(value=Stable) public TxtRecord.Builder comment(String comment)
Default: no comment
comment - A comment to add on the record. This parameter is required.this@Stability(value=Stable) public TxtRecord.Builder recordName(String recordName)
Default: zone root
recordName - The domain name for this record. This parameter is required.this@Stability(value=Stable) public TxtRecord.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 TxtRecord.Builder values(List<String> values)
values - The text values. This parameter is required.thisCopyright © 2022. All rights reserved.