Class ContainerEndpoint


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

      Constructors 
      Constructor Description
      ContainerEndpoint​(java.lang.String clusterId, java.util.List<java.lang.String> names)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String clusterId()
      ID of the cluster to which this points
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.util.List<java.lang.String> names()
      All valid DNS names for this endpoint.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ContainerEndpoint

        public ContainerEndpoint​(java.lang.String clusterId,
                                 java.util.List<java.lang.String> names)
    • Method Detail

      • clusterId

        public java.lang.String clusterId()
        ID of the cluster to which this points
      • names

        public java.util.List<java.lang.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.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object