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