Class AliasTarget
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.dns.AliasTarget
-
- Direct Known Subclasses:
LatencyAliasTarget,WeightedAliasTarget
public abstract class AliasTarget extends java.lang.ObjectThe target of anRecord.Type.ALIASrecord. Contains record fields unique to aliases.- Author:
- mpolden
-
-
Constructor Summary
Constructors Constructor Description AliasTarget(com.yahoo.config.provision.HostName name, java.lang.String dnsZone, java.lang.String id)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringdnsZone()The DNS zone this belongs tobooleanequals(java.lang.Object o)inthashCode()java.lang.Stringid()A unique identifier of this record within the ALIAS record groupcom.yahoo.config.provision.HostNamename()DNS name this points toabstract RecordDatapack()Returns the fields in this encoded as record datastatic AliasTargetunpack(RecordData data)Unpack target from given record data
-
-
-
Method Detail
-
id
public java.lang.String id()
A unique identifier of this record within the ALIAS record group
-
name
public final com.yahoo.config.provision.HostName name()
DNS name this points to
-
dnsZone
public final java.lang.String dnsZone()
The DNS zone this belongs to
-
pack
public abstract RecordData pack()
Returns the fields in this encoded as record data
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
unpack
public static AliasTarget unpack(RecordData data)
Unpack target from given record data
-
-