Interface RecordSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RecordSetOptions
- All Known Implementing Classes:
RecordSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:22.717Z")
@Stability(Stable)
public interface RecordSetProps
extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties 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.*; import software.amazon.awscdk.services.route53.*; GeoLocation geoLocation; HostedZone hostedZone; RecordTarget recordTarget; RecordSetProps recordSetProps = RecordSetProps.builder() .recordType(RecordType.A) .target(recordTarget) .zone(hostedZone) // the properties below are optional .comment("comment") .deleteExisting(false) .geoLocation(geoLocation) .multiValueAnswer(false) .recordName("recordName") .region("region") .setIdentifier("setIdentifier") .ttl(Duration.minutes(30)) .weight(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRecordSetProps
static final class
An implementation forRecordSetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecordSetProps.Builder
builder()
The record type.The target for this record, eitherRecordTarget.fromValues()
orRecordTarget.fromAlias()
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.route53.RecordSetOptions
getComment, getDeleteExisting, getGeoLocation, getMultiValueAnswer, getRecordName, getRegion, getSetIdentifier, getTtl, getWeight, getZone
-
Method Details
-
getRecordType
The record type. -
getTarget
The target for this record, eitherRecordTarget.fromValues()
orRecordTarget.fromAlias()
. -
builder
- Returns:
- a
RecordSetProps.Builder
ofRecordSetProps
-