@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:13.875Z") @Stability(value=Experimental) public interface MxRecordProps extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
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;
MxRecordProps mxRecordProps = MxRecordProps.builder()
.values(List.of(MxRecordValue.builder()
.hostName("hostName")
.priority(123)
.build()))
.zone(hostedZone)
// the properties below are optional
.comment("comment")
.recordName("recordName")
.ttl(duration)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MxRecordProps.Builder
A builder for
MxRecordProps |
static class |
MxRecordProps.Jsii$Proxy
An implementation for
MxRecordProps |
| Modifier and Type | Method and Description |
|---|---|
static MxRecordProps.Builder |
builder() |
List<MxRecordValue> |
getValues()
(experimental) The values.
|
getComment, getRecordName, getTtl, getZone@Stability(value=Experimental) @NotNull List<MxRecordValue> getValues()
@Stability(value=Experimental) static MxRecordProps.Builder builder()
builder in interface RecordSetOptionsMxRecordProps.Builder of MxRecordPropsCopyright © 2022. All rights reserved.