@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:43.823Z") @Stability(value=Stable) public interface RecordSetOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53.*;
import software.amazon.awscdk.core.*;
HostedZone hostedZone;
RecordSetOptions recordSetOptions = RecordSetOptions.builder()
.zone(hostedZone)
// the properties below are optional
.comment("comment")
.recordName("recordName")
.ttl(Duration.minutes(30))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RecordSetOptions.Builder
A builder for
RecordSetOptions |
static class |
RecordSetOptions.Jsii$Proxy
An implementation for
RecordSetOptions |
| Modifier and Type | Method and Description |
|---|---|
static RecordSetOptions.Builder |
builder() |
default String |
getComment()
A comment to add on the record.
|
default String |
getRecordName()
The domain name for this record.
|
default Duration |
getTtl()
The resource record cache time to live (TTL).
|
IHostedZone |
getZone()
The hosted zone in which to define the new record.
|
@Stability(value=Stable) @NotNull IHostedZone getZone()
@Stability(value=Stable) @Nullable default String getComment()
Default: no comment
@Stability(value=Stable) @Nullable default String getRecordName()
Default: zone root
@Stability(value=Stable) @Nullable default Duration getTtl()
Default: Duration.minutes(30)
@Stability(value=Stable) static RecordSetOptions.Builder builder()
RecordSetOptions.Builder of RecordSetOptionsCopyright © 2022. All rights reserved.