Class Endpoint

java.lang.Object
com.yahoo.config.application.api.Endpoint

public class Endpoint extends Object
Represents an application- or instance-level endpoint in deployments.xml. - An instance-level endpoint is global and can span multiple regions within a single instance. - An application-level endpoint points can span multiple instances within a single region.
Author:
ogronnesby, mpolden
  • Field Details

  • Constructor Details

  • Method Details

    • endpointId

      public String endpointId()
      The unique identifer of this
    • containerId

      public String containerId()
      The container cluster this points to
    • regions

      public List<com.yahoo.config.provision.RegionName> regions()
      The regions of this points to
    • level

      public Endpoint.Level level()
      The level of targets in this
    • targets

      public List<Endpoint.Target> targets()
      The targets this points to
    • withTargets

      public Endpoint withTargets(List<Endpoint.Target> targets)
      Returns a copy of this with targets set to given targets
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object