Enum ContainerWorkingDirectory

java.lang.Object
java.lang.Enum<ContainerWorkingDirectory>
com.azure.resourcemanager.batch.models.ContainerWorkingDirectory
All Implemented Interfaces:
Serializable, Comparable<ContainerWorkingDirectory>, java.lang.constant.Constable

public enum ContainerWorkingDirectory extends Enum<ContainerWorkingDirectory>
A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
  • Enum Constant Details

    • TASK_WORKING_DIRECTORY

      public static final ContainerWorkingDirectory TASK_WORKING_DIRECTORY
      Enum value TaskWorkingDirectory.
    • CONTAINER_IMAGE_DEFAULT

      public static final ContainerWorkingDirectory CONTAINER_IMAGE_DEFAULT
      Enum value ContainerImageDefault.
  • Method Details

    • values

      public static ContainerWorkingDirectory[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ContainerWorkingDirectory valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static ContainerWorkingDirectory fromString(String value)
      Parses a serialized value to a ContainerWorkingDirectory instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed ContainerWorkingDirectory object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ContainerWorkingDirectory>