Interface RecordSetOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AaaaRecordProps,ARecordProps,CaaAmazonRecordProps,CaaRecordProps,CnameRecordProps,DsRecordProps,MxRecordProps,NsRecordProps,RecordSetProps,SrvRecordProps,TxtRecordProps,ZoneDelegationRecordProps
- All Known Implementing Classes:
AaaaRecordProps.Jsii$Proxy,ARecordProps.Jsii$Proxy,CaaAmazonRecordProps.Jsii$Proxy,CaaRecordProps.Jsii$Proxy,CnameRecordProps.Jsii$Proxy,DsRecordProps.Jsii$Proxy,MxRecordProps.Jsii$Proxy,NsRecordProps.Jsii$Proxy,RecordSetOptions.Jsii$Proxy,RecordSetProps.Jsii$Proxy,SrvRecordProps.Jsii$Proxy,TxtRecordProps.Jsii$Proxy,ZoneDelegationRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.041Z")
@Stability(Stable)
public interface RecordSetOptions
extends software.amazon.jsii.JsiiSerializable
Options for a RecordSet.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forRecordSetOptionsstatic final classAn implementation forRecordSetOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic RecordSetOptions.Builderbuilder()default StringA comment to add on the record.default StringThe domain name for this record.default DurationgetTtl()The resource record cache time to live (TTL).getZone()The hosted zone in which to define the new record.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getZone
The hosted zone in which to define the new record. -
getComment
A comment to add on the record.Default: no comment
-
getRecordName
The domain name for this record.Default: zone root
-
getTtl
The resource record cache time to live (TTL).Default: Duration.minutes(30)
-
builder
- Returns:
- a
RecordSetOptions.BuilderofRecordSetOptions
-