Class ContainerEndpoint


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

      • ContainerEndpoint

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

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object