@Stability(value=Experimental) public static final class RecordSetProps.Builder extends Object implements software.amazon.jsii.Builder<RecordSetProps>
RecordSetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RecordSetProps |
build()
Builds the configured instance.
|
RecordSetProps.Builder |
comment(String comment)
Sets the value of
RecordSetOptions.getComment() |
RecordSetProps.Builder |
recordName(String recordName)
Sets the value of
RecordSetOptions.getRecordName() |
RecordSetProps.Builder |
recordType(RecordType recordType)
Sets the value of
RecordSetProps.getRecordType() |
RecordSetProps.Builder |
target(RecordTarget target)
Sets the value of
RecordSetProps.getTarget() |
RecordSetProps.Builder |
ttl(Duration ttl)
Sets the value of
RecordSetOptions.getTtl() |
RecordSetProps.Builder |
zone(IHostedZone zone)
Sets the value of
RecordSetOptions.getZone() |
@Stability(value=Experimental) public RecordSetProps.Builder recordType(RecordType recordType)
RecordSetProps.getRecordType()recordType - The record type. This parameter is required.this@Stability(value=Experimental) public RecordSetProps.Builder target(RecordTarget target)
RecordSetProps.getTarget()target - The target for this record, either `RecordTarget.fromValues()` or `RecordTarget.fromAlias()`. This parameter is required.this@Stability(value=Experimental) public RecordSetProps.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 RecordSetProps.Builder comment(String comment)
RecordSetOptions.getComment()comment - A comment to add on the record.this@Stability(value=Experimental) public RecordSetProps.Builder recordName(String recordName)
RecordSetOptions.getRecordName()recordName - The domain name for this record.this@Stability(value=Experimental) public RecordSetProps.Builder ttl(Duration ttl)
RecordSetOptions.getTtl()ttl - The resource record cache time to live (TTL).this@Stability(value=Experimental) public RecordSetProps build()
build in interface software.amazon.jsii.Builder<RecordSetProps>RecordSetPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.