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