Class Record
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.Record
- All Implemented Interfaces:
Comparable<Record>
A basic representation of a DNS resource record, containing the record type, name and data.
- Author:
- mpolden
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRecord(Record.Type type, RecordName name, RecordData data) Record(Record.Type type, Duration ttl, RecordName name, RecordData data) -
Method Summary
-
Constructor Details
-
Record
-
Record
-
-
Method Details
-
type
DNS type of this -
ttl
The TTL value of this -
data
Data in this, e.g. IP address for records of type A -
name
Name of this, e.g. a FQDN for records of type A -
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Record>
-