public static final class DsRecordProps.Builder
extends java.lang.Object
DsRecordProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DsRecordProps |
build()
Builds the configured instance.
|
DsRecordProps.Builder |
comment(java.lang.String comment)
Sets the value of
RecordSetOptions.getComment() |
DsRecordProps.Builder |
recordName(java.lang.String recordName)
Sets the value of
RecordSetOptions.getRecordName() |
DsRecordProps.Builder |
ttl(Duration ttl)
Sets the value of
RecordSetOptions.getTtl() |
DsRecordProps.Builder |
values(java.util.List<java.lang.String> values)
Sets the value of
DsRecordProps.getValues() |
DsRecordProps.Builder |
zone(IHostedZone zone)
Sets the value of
RecordSetOptions.getZone() |
public DsRecordProps.Builder values(java.util.List<java.lang.String> values)
DsRecordProps.getValues()
values
- The DS values. This parameter is required.this
public DsRecordProps.Builder zone(IHostedZone zone)
RecordSetOptions.getZone()
zone
- The hosted zone in which to define the new record. This parameter is required.this
public DsRecordProps.Builder comment(java.lang.String comment)
RecordSetOptions.getComment()
comment
- A comment to add on the record.this
public DsRecordProps.Builder recordName(java.lang.String recordName)
RecordSetOptions.getRecordName()
recordName
- The domain name for this record.this
public DsRecordProps.Builder ttl(Duration ttl)
RecordSetOptions.getTtl()
ttl
- The resource record cache time to live (TTL).this
public DsRecordProps build()
DsRecordProps
java.lang.NullPointerException
- if any required attribute was not provided