Class JobBasePropertiesConstraints
java.lang.Object
com.microsoft.azure.management.batchai.JobBasePropertiesConstraints
Constraints associated with the Job.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.Period
Get max time the job can run.withMaxWallClockTime
(org.joda.time.Period maxWallClockTime) Set max time the job can run.
-
Constructor Details
-
JobBasePropertiesConstraints
public JobBasePropertiesConstraints()
-
-
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
Set max time the job can run. Default value: 1 week.- Parameters:
maxWallClockTime
- the maxWallClockTime value to set- Returns:
- the JobBasePropertiesConstraints object itself.
-