Class RecordData
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.RecordData
- All Implemented Interfaces:
Comparable<RecordData>
Represents the data field of a DNS record (RDATA).
E.g. this may be an IP address for A records, or a FQDN for CNAME records.
- Author:
- mpolden
-
Method Summary
Modifier and TypeMethodDescriptionasString()intcompareTo(RecordData that) booleanstatic RecordDataCreate a new record and append a trailing dot to given data, if missingstatic RecordDataCreate data containing the given datainthashCode()toString()
-
Method Details
-
asString
-
equals
-
hashCode
public int hashCode() -
toString
-
from
Create data containing the given data -
fqdn
Create a new record and append a trailing dot to given data, if missing -
compareTo
- Specified by:
compareToin interfaceComparable<RecordData>
-