Class RecordName
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.dns.RecordName
-
- All Implemented Interfaces:
Comparable<RecordName>
public class RecordName extends Object implements Comparable<RecordName>
Represents the name field of a DNS record (NAME).- Author:
- mpolden
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordNameasFqdn()Returns this as a fully qualified domain name (ends in trailing dot)StringasString()intcompareTo(RecordName that)booleanequals(Object o)static RecordNamefqdn(String name)static RecordNamefrom(String name)inthashCode()booleanisFqdn()Returns whether this is a fully qualified domain name (ends in trailing dot)StringtoString()
-
-
-
Method Detail
-
asString
public String asString()
-
isFqdn
public boolean isFqdn()
Returns whether this is a fully qualified domain name (ends in trailing dot)
-
asFqdn
public RecordName asFqdn()
Returns this as a fully qualified domain name (ends in trailing dot)
-
from
public static RecordName from(String name)
-
fqdn
public static RecordName fqdn(String name)
-
compareTo
public int compareTo(RecordName that)
- Specified by:
compareToin interfaceComparable<RecordName>
-
-