org.jclouds.glesys.domain
Class DomainRecord
java.lang.Object
org.jclouds.glesys.domain.DomainRecord
public class DomainRecord
- extends Object
DNS record data.
- Author:
- Adam Lowe
- See Also:
DomainRecord
@ConstructorProperties(value={"recordid","domainname","host","type","data","ttl"})
protected DomainRecord(@Nullable
String id,
String domainname,
String host,
String type,
@Nullable
String data,
int ttl)
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"
getData
@Nullable
public String getData()
- Returns:
- the data content of the record
getTtl
public int getTtl()
- Returns:
- the TTL/Time-to-live for the record
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.