Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.batchai; import org.joda.time.Period; import com.fasterxml.jackson.annotation.JsonProperty;
Constraints associated with the Job.
/** * Constraints associated with the Job. */
public class JobBasePropertiesConstraints {
Max wall clock time. Max time the job can run. Default value: 1 week.
/** * Max wall clock time. * Max time the job can run. Default value: 1 week. */
@JsonProperty(value = "maxWallClockTime") private Period maxWallClockTime;
Get max time the job can run. Default value: 1 week.
Returns:the maxWallClockTime value
/** * Get max time the job can run. Default value: 1 week. * * @return the maxWallClockTime value */
public Period maxWallClockTime() { return this.maxWallClockTime; }
Set max time the job can run. Default value: 1 week.
Params:
  • maxWallClockTime – the maxWallClockTime value to set
Returns:the JobBasePropertiesConstraints object itself.
/** * Set max time the job can run. Default value: 1 week. * * @param maxWallClockTime the maxWallClockTime value to set * @return the JobBasePropertiesConstraints object itself. */
public JobBasePropertiesConstraints withMaxWallClockTime(Period maxWallClockTime) { this.maxWallClockTime = maxWallClockTime; return this; } }