Class Record
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.dns.Record
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecord.Type
-
Constructor Summary
Constructors Constructor Description Record(Record.Type type, RecordName name, RecordData data)Record(Record.Type type, java.time.Duration ttl, RecordName name, RecordData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Record that)RecordDatadata()Data in this, e.g.booleanequals(java.lang.Object o)inthashCode()RecordNamename()Name of this, e.g.java.lang.StringtoString()java.time.Durationttl()The TTL value of thisRecord.Typetype()DNS type of this
-
-
-
Constructor Detail
-
Record
public Record(Record.Type type, java.time.Duration ttl, RecordName name, RecordData data)
-
Record
public Record(Record.Type type, RecordName name, RecordData data)
-
-
Method Detail
-
type
public Record.Type type()
DNS type of this
-
ttl
public java.time.Duration ttl()
The TTL value of this
-
data
public RecordData data()
Data in this, e.g. IP address for records of type A
-
name
public RecordName name()
Name of this, e.g. a FQDN for records of type A
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-