@Stability(value=Experimental) public static final class MxRecordProps.Builder extends Object implements software.amazon.jsii.Builder<MxRecordProps>
MxRecordProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MxRecordProps |
build()
Builds the configured instance.
|
MxRecordProps.Builder |
comment(String comment)
Sets the value of
RecordSetOptions.getComment() |
MxRecordProps.Builder |
recordName(String recordName)
Sets the value of
RecordSetOptions.getRecordName() |
MxRecordProps.Builder |
ttl(Duration ttl)
Sets the value of
RecordSetOptions.getTtl() |
MxRecordProps.Builder |
values(List<? extends MxRecordValue> values)
Sets the value of
MxRecordProps.getValues() |
MxRecordProps.Builder |
zone(IHostedZone zone)
Sets the value of
RecordSetOptions.getZone() |
@Stability(value=Experimental) public MxRecordProps.Builder values(List<? extends MxRecordValue> values)
MxRecordProps.getValues()values - The values. This parameter is required.this@Stability(value=Experimental) public MxRecordProps.Builder zone(IHostedZone zone)
RecordSetOptions.getZone()zone - The hosted zone in which to define the new record. This parameter is required.this@Stability(value=Experimental) public MxRecordProps.Builder comment(String comment)
RecordSetOptions.getComment()comment - A comment to add on the record.this@Stability(value=Experimental) public MxRecordProps.Builder recordName(String recordName)
RecordSetOptions.getRecordName()recordName - The domain name for this record.this@Stability(value=Experimental) public MxRecordProps.Builder ttl(Duration ttl)
RecordSetOptions.getTtl()ttl - The resource record cache time to live (TTL).this@Stability(value=Experimental) public MxRecordProps build()
build in interface software.amazon.jsii.Builder<MxRecordProps>MxRecordPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.