Class JobPropertiesConstraints
java.lang.Object
com.microsoft.azure.management.batchai.JobPropertiesConstraints
Constraints associated with the Job.
-
Constructor Summary
-
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
-
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
Set max time the job can run. Default value: 1 week.- Parameters:
maxWallClockTime
- the maxWallClockTime value to set- Returns:
- the JobPropertiesConstraints object itself.
-