Class OutputDirectory

java.lang.Object
com.microsoft.azure.management.batchai.OutputDirectory

public class OutputDirectory extends Object
Output directory for the job.
  • Constructor Details

    • OutputDirectory

      public OutputDirectory()
  • Method Details

    • id

      public String id()
      Get the ID of the output directory. The job can use AZ_BATCHAI_OUTPUT_<id> environment variale to find the directory path, where <id> is the value of id attribute.
      Returns:
      the id value
    • withId

      public OutputDirectory withId(String id)
      Set the ID of the output directory. The job can use AZ_BATCHAI_OUTPUT_<id> environment variale to find the directory path, where <id> is the value of id attribute.
      Parameters:
      id - the id value to set
      Returns:
      the OutputDirectory object itself.
    • pathPrefix

      public String pathPrefix()
      Get the prefix path where the output directory will be created. Note, this is an absolute path to prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.
      Returns:
      the pathPrefix value
    • withPathPrefix

      public OutputDirectory withPathPrefix(String pathPrefix)
      Set the prefix path where the output directory will be created. Note, this is an absolute path to prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.
      Parameters:
      pathPrefix - the pathPrefix value to set
      Returns:
      the OutputDirectory object itself.
    • pathSuffix

      public String pathSuffix()
      Get the suffix path where the output directory will be created. E.g. models. You can find the full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.
      Returns:
      the pathSuffix value
    • withPathSuffix

      public OutputDirectory withPathSuffix(String pathSuffix)
      Set the suffix path where the output directory will be created. E.g. models. You can find the full path to the output directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and pathSuffix.
      Parameters:
      pathSuffix - the pathSuffix value to set
      Returns:
      the OutputDirectory object itself.