Class ZoneEndpoint

java.lang.Object
com.yahoo.config.provision.ZoneEndpoint

public class ZoneEndpoint extends Object
Settings for a zone endpoint of a deployment.
Author:
jonmv
  • Field Details

    • generation

      public static final int generation
      Endpoint service generation. Bump this to provision new services, whenever we change regional endpoint names. This will cause new endpoint services to be provisioned, with new domain names. TODO: wire multiple service IDs to and through the controller.
      See Also:
    • defaultEndpoint

      public static final ZoneEndpoint defaultEndpoint
    • privateEndpoint

      public static final ZoneEndpoint privateEndpoint
  • Constructor Details

  • Method Details

    • isPublicEndpoint

      public boolean isPublicEndpoint()
      Whether this has an endpoint which is visible from the public internet.
    • isPrivateEndpoint

      public boolean isPrivateEndpoint()
      Whether this has an endpoint which is visible through private DNS of the cloud.
    • allowedUrns

      public List<ZoneEndpoint.AllowedUrn> allowedUrns()
      List of allowed URNs, for specified private access types.
    • allowedUrnsWith

      public List<String> allowedUrnsWith(ZoneEndpoint.AccessType type)
      List of URNs for the given access type.
    • isDefault

      public boolean isDefault()
    • 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