Class JobPropertiesConstraints

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

public class JobPropertiesConstraints extends Object
Constraints associated with the Job.
  • Constructor Details

    • JobPropertiesConstraints

      public JobPropertiesConstraints()
  • Method Details

    • maxWallClockTime

      public org.joda.time.Period maxWallClockTime()
      Get max time the job can run. Default value: 1 week.
      Returns:
      the maxWallClockTime value
    • withMaxWallClockTime

      public JobPropertiesConstraints withMaxWallClockTime(org.joda.time.Period maxWallClockTime)
      Set max time the job can run. Default value: 1 week.
      Parameters:
      maxWallClockTime - the maxWallClockTime value to set
      Returns:
      the JobPropertiesConstraints object itself.