Class Zone

java.lang.Object
ai.vespa.cloud.Zone

public class Zone extends Object
The zone in which a cloud deployment may be running. A zone is a combination of an environment and a region.
Author:
bratseth
  • Constructor Details

  • Method Details

    • environment

      public Environment environment()
    • region

      public String region()
    • toString

      public String toString()
      Returns the string environment.region
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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

      public static Zone from(String zoneString)
      Creates a zone from a string on the form environment.region
      Throws:
      IllegalArgumentException - if the given string is not a valid zone