Class InstanceName

java.lang.Object
ai.vespa.validation.StringWrapper<T>
ai.vespa.validation.PatternedStringWrapper<InstanceName>
com.yahoo.config.provision.InstanceName
All Implemented Interfaces:
Comparable<InstanceName>

public class InstanceName extends ai.vespa.validation.PatternedStringWrapper<InstanceName>
Represents an applications instance name, which may be any kind of string or default. This type is defined in order to provide a type safe API for defining environments.
Author:
Ulf Lilleengen
  • Method Details

    • from

      public static InstanceName from(String name)
    • defaultName

      public static InstanceName defaultName()
    • isDefault

      public boolean isDefault()
    • isTester

      public boolean isTester()