Package org.jclouds.glesys.domain
Class DomainRecord
- java.lang.Object
-
- org.jclouds.glesys.domain.DomainRecord
-
public class DomainRecord extends Object
DNS record data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainRecord.Builder<T extends DomainRecord.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DomainRecord.Builder<?>
builder()
boolean
equals(Object obj)
String
getData()
String
getHost()
String
getId()
String
getname()
int
getTtl()
String
getType()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
DomainRecord.Builder<?>
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static DomainRecord.Builder<?> builder()
-
toBuilder
public DomainRecord.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- the id of the record used to modify it via the API
- See Also:
DomainApi
-
getname
public String getname()
- Returns:
- the zone content of the record
-
getHost
public String getHost()
- Returns:
- the host content of the record
-
getType
public String getType()
- Returns:
- the type of the record, ex. "A"
-
getTtl
public int getTtl()
- Returns:
- the TTL/Time-to-live for the record
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-