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