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