@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.678Z") @Stability(value=Stable) public interface TxtRecordProps extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Example:
HostedZone myZone;
TxtRecord.Builder.create(this, "TXTRecord")
.zone(myZone)
.recordName("_foo") // If the name ends with a ".", it will be used as-is;
// if it ends with a "." followed by the zone name, a trailing "." will be added automatically;
// otherwise, a ".", the zone name, and a trailing "." will be added automatically.
// Defaults to zone root if not specified.
.values(List.of("Bar!", "Baz?"))
.ttl(Duration.minutes(90))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
TxtRecordProps.Builder
A builder for
TxtRecordProps |
static class |
TxtRecordProps.Jsii$Proxy
An implementation for
TxtRecordProps |
| Modifier and Type | Method and Description |
|---|---|
static TxtRecordProps.Builder |
builder() |
List<String> |
getValues()
The text values.
|
getComment, getDeleteExisting, getRecordName, getTtl, getZone@Stability(value=Stable) static TxtRecordProps.Builder builder()
builder in interface RecordSetOptionsTxtRecordProps.Builder of TxtRecordPropsCopyright © 2022. All rights reserved.