Class ZoneId

java.lang.Object
com.yahoo.config.provision.zone.ZoneId

public class ZoneId extends Object
Unique identifier for a Zone; use when referencing them.

Serialised form is 'environment.region'.

Author:
jonmv
  • Method Details

    • from

      public static ZoneId from(Environment environment, RegionName region)
    • from

      public static ZoneId from(String environment, String region)
    • from

      public static ZoneId from(String value)
      Create from a serialised ZoneId. Inverse of ZoneId.value().
    • defaultId

      public static ZoneId defaultId()
    • environment

      public Environment environment()
    • region

      public RegionName region()
    • value

      public String value()
      Returns the serialised value of this. Inverse of ZoneId.from(String value).
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object