java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.dns.AliasTarget
Direct Known Subclasses:
LatencyAliasTarget, WeightedAliasTarget

public abstract class AliasTarget extends Object
The target of a Record.Type.ALIAS record. Contains record fields unique to aliases.
Author:
mpolden
  • Constructor Details

    • AliasTarget

      public AliasTarget(ai.vespa.http.DomainName name, String dnsZone, String id)
  • Method Details

    • id

      public String 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

      public final 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • unpack

      public static AliasTarget unpack(RecordData data)
      Unpack target from given record data