@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:43.805Z") @Stability(value=Stable) public class MxRecord extends 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;
MxRecord mxRecord = MxRecord.Builder.create(this, "MyMxRecord")
.values(List.of(MxRecordValue.builder()
.hostName("hostName")
.priority(123)
.build()))
.zone(hostedZone)
// the properties below are optional
.comment("comment")
.recordName("recordName")
.ttl(Duration.minutes(30))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
MxRecord.Builder
A fluent builder for
MxRecord. |
software.amazon.jsii.JsiiObject.InitializationModeIRecordSet.Jsii$Default, IRecordSet.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
MxRecord(software.constructs.Construct scope,
String id,
MxRecordProps props) |
protected |
MxRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
MxRecord(software.amazon.jsii.JsiiObjectRef objRef) |
getDomainNameapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected MxRecord(software.amazon.jsii.JsiiObjectRef objRef)
protected MxRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public MxRecord(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
MxRecordProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.