java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.configserver.ContainerEndpoint

public class ContainerEndpoint extends Object
This represents a list of one or more names for a container cluster.
Author:
mpolden
  • Constructor Details

    • ContainerEndpoint

      public ContainerEndpoint(String clusterId, String scope, List<String> names, OptionalInt weight, com.yahoo.config.provision.zone.RoutingMethod routingMethod)
  • Method Details

    • clusterId

      public String clusterId()
      ID of the cluster to which this points
    • scope

      public String scope()
      The scope of this endpoint
    • names

      public List<String> names()
      All valid DNS names for this endpoint. This can contain both proper DNS names and synthetic identifiers used for routing, such as a Host header value that is not necessarily a proper DNS name.
    • weight

      public OptionalInt weight()
      The relative weight of this endpoint
    • routingMethod

      public com.yahoo.config.provision.zone.RoutingMethod routingMethod()
      The routing method used by this endpoint
    • 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