Class AliasTarget
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.AliasTarget
- Direct Known Subclasses:
LatencyAliasTarget,WeightedAliasTarget
public abstract sealed class AliasTarget
extends Object
permits LatencyAliasTarget, WeightedAliasTarget
The target of a
Record.Type.ALIAS record. Contains record fields unique to aliases.- Author:
- mpolden
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringdnsZone()The DNS zone this belongs tobooleaninthashCode()id()A unique identifier of this record within the ALIAS record groupfinal ai.vespa.http.DomainNamename()DNS name this points toabstract RecordDatapack()Returns the fields in this encoded as record datastatic AliasTargetunpack(RecordData data) Unpack target from given record data
-
Constructor Details
-
AliasTarget
-
-
Method Details
-
id
A unique identifier of this record within the ALIAS record group -
name
public final ai.vespa.http.DomainName name()DNS name this points to -
dnsZone
The DNS zone this belongs to -
pack
Returns the fields in this encoded as record data -
equals
-
hashCode
public int hashCode() -
unpack
Unpack target from given record data
-