Package com.dnsimple.request
Class ZoneRecordUpdateOptions
java.lang.Object
com.dnsimple.request.ZoneRecordUpdateOptions
-
Method Summary
Modifier and TypeMethodDescriptionSet a new contentstatic ZoneRecordUpdateOptionsempty()Set a new namepriority(int priority) Set a new prioritySet new regions where the record will be present.ttl(int ttl) Set a new TTL (time to live)
-
Method Details
-
empty
-
name
Set a new name -
content
Set a new content -
ttl
Set a new TTL (time to live) -
priority
Set a new priority -
regions
Set new regions where the record will be present. More info at https://developer.dnsimple.com/v2/zones/records/#zone-record-regions -
asPayload
- Returns:
- a map with this object's attributes and prunes the `regions` attribute if it's empty
-