Package com.myjeeva.digitalocean.pojo
Class DomainRecord
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.DomainRecord
- All Implemented Interfaces:
Serializable
Represents DomainRecord (TLD) Record attributes of DigitalOcean DNS. Revised as per v2 API data
structure.
- Author:
- Jeevanandam M. (jeeva@myjeeva.com)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDomainRecord(String name) DomainRecord(String name, String type) DomainRecord(String name, String data, String type) DomainRecord(String name, String data, String type, Integer priority, Integer port, Integer weight, Integer ttl) -
Method Summary
Methods inherited from class com.myjeeva.digitalocean.pojo.Base
getLinks, getMeta, setLinks, setMetaMethods inherited from class com.myjeeva.digitalocean.pojo.RateLimitBase
getRateLimit, setRateLimit
-
Constructor Details
-
DomainRecord
public DomainRecord() -
DomainRecord
-
DomainRecord
-
DomainRecord
-
DomainRecord
-
DomainRecord
-
-
Method Details
-
toString
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getData
- Returns:
- the data
-
setData
- Parameters:
data- the data to set
-
getPriority
- Returns:
- the priority
-
setPriority
- Parameters:
priority- the priority to set
-
getPort
- Returns:
- the port
-
setPort
- Parameters:
port- the port to set
-
getWeight
- Returns:
- the weight
-
setWeight
- Parameters:
weight- the weight to set
-
getTtl
- Returns:
- the TTL, in seconds
-
setTtl
- Parameters:
ttl- the TTL, in seconds
-
getFlags
- Returns:
- the flags
-
setFlags
- Parameters:
flags- the flags to set
-
getTag
- Returns:
- the tag
-
setTag
- Parameters:
tag- the tag to set
-