Interface MxRecordProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RecordSetOptions
- All Known Implementing Classes:
MxRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:16.085Z")
@Stability(Stable)
public interface MxRecordProps
extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties for a MxRecord.
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;
MxRecordProps mxRecordProps = MxRecordProps.builder()
.values(List.of(MxRecordValue.builder()
.hostName("hostName")
.priority(123)
.build()))
.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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMxRecordPropsstatic final classAn implementation forMxRecordProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.route53.RecordSetOptions
getComment, getDeleteExisting, getGeoLocation, getMultiValueAnswer, getRecordName, getRegion, getSetIdentifier, getTtl, getWeight, getZone
-
Method Details
-
getValues
The values. -
builder
- Returns:
- a
MxRecordProps.BuilderofMxRecordProps
-