@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:36.721Z") @Stability(value=Experimental) 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.core.*;
import software.amazon.awscdk.services.route53.*;
Duration duration;
HostedZone hostedZone;
RecordSetOptions recordSetOptions = RecordSetOptions.builder()
.zone(hostedZone)
// the properties below are optional
.comment("comment")
.recordName("recordName")
.ttl(duration)
.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()
(experimental) A comment to add on the record.
|
default String |
getRecordName()
(experimental) The domain name for this record.
|
default Duration |
getTtl()
(experimental) The resource record cache time to live (TTL).
|
IHostedZone |
getZone()
(experimental) The hosted zone in which to define the new record.
|
@Stability(value=Experimental) @NotNull IHostedZone getZone()
@Stability(value=Experimental) @Nullable default String getComment()
Default: no comment
@Stability(value=Experimental) @Nullable default String getRecordName()
Default: zone root
@Stability(value=Experimental) @Nullable default Duration getTtl()
Default: Duration.minutes(30)
@Stability(value=Experimental) static RecordSetOptions.Builder builder()
RecordSetOptions.Builder of RecordSetOptionsCopyright © 2022. All rights reserved.