| Modifier and Type | Method and Description |
|---|---|
RecordSet |
build() |
RecordSet.Builder |
comment(String comment)
(experimental) A comment to add on the record.
|
static RecordSet.Builder |
create(software.constructs.Construct scope,
String id) |
RecordSet.Builder |
recordName(String recordName)
(experimental) The domain name for this record.
|
RecordSet.Builder |
recordType(RecordType recordType)
(experimental) The record type.
|
RecordSet.Builder |
target(RecordTarget target)
(experimental) The target for this record, either `RecordTarget.fromValues()` or `RecordTarget.fromAlias()`.
|
RecordSet.Builder |
ttl(Duration ttl)
(experimental) The resource record cache time to live (TTL).
|
RecordSet.Builder |
zone(IHostedZone zone)
(experimental) The hosted zone in which to define the new record.
|
@Stability(value=Experimental) public static RecordSet.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.RecordSet.Builder.@Stability(value=Experimental) public RecordSet.Builder zone(IHostedZone zone)
zone - The hosted zone in which to define the new record. This parameter is required.this@Stability(value=Experimental) public RecordSet.Builder comment(String comment)
Default: no comment
comment - A comment to add on the record. This parameter is required.this@Stability(value=Experimental) public RecordSet.Builder recordName(String recordName)
Default: zone root
recordName - The domain name for this record. This parameter is required.this@Stability(value=Experimental) public RecordSet.Builder ttl(Duration ttl)
Default: Duration.minutes(30)
ttl - The resource record cache time to live (TTL). This parameter is required.this@Stability(value=Experimental) public RecordSet.Builder recordType(RecordType recordType)
recordType - The record type. This parameter is required.this@Stability(value=Experimental) public RecordSet.Builder target(RecordTarget target)
target - The target for this record, either `RecordTarget.fromValues()` or `RecordTarget.fromAlias()`. This parameter is required.thisCopyright © 2021. All rights reserved.