Class DirectTarget
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.DirectTarget
- Direct Known Subclasses:
LatencyDirectTarget,WeightedDirectTarget
public abstract sealed class DirectTarget
extends Object
permits LatencyDirectTarget, WeightedDirectTarget
Same as
AliasTarget, except for targets outside AWS (cannot be targeted with ALIAS record).- Author:
- freva
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()id()A unique identifier of this record within the record groupabstract RecordDatapack()Returns the fields in this encoded as record dataData in this, e.g.static DirectTargetunpack(RecordData data) Unpack target from given record data
-
Constructor Details
-
DirectTarget
-
-
Method Details
-
id
A unique identifier of this record within the record group -
recordData
Data in this, e.g. IP address for records of type A -
pack
Returns the fields in this encoded as record data -
equals
-
hashCode
public int hashCode() -
unpack
Unpack target from given record data
-