Package com.dnsimple.request
Class TemplateRecordOptions
- java.lang.Object
-
- com.dnsimple.request.TemplateRecordOptions
-
public class TemplateRecordOptions extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateRecordOptionsof(java.lang.String name, java.lang.String type, java.lang.String content)TemplateRecordOptionspriority(int priority)Set a priorityTemplateRecordOptionsttl(int ttl)Set a TTL (time to live)
-
-
-
Method Detail
-
of
public static TemplateRecordOptions of(java.lang.String name, java.lang.String type, java.lang.String content)
- Parameters:
name- the name of the record. Use an empty string to create a record for the apex.type- the type of the recordcontent- the content of the record
-
ttl
public TemplateRecordOptions ttl(int ttl)
Set a TTL (time to live)
-
priority
public TemplateRecordOptions priority(int priority)
Set a priority
-
-