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 Details

  • Method Details

    • id

      public String id()
      A unique identifier of this record within the record group
    • recordData

      public RecordData recordData()
      Data in this, e.g. IP address for records of type A
    • 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 DirectTarget unpack(RecordData data)
      Unpack target from given record data