public MonitoringStoppingCondition withMaxRuntimeInSeconds(Integer maxRuntimeInSeconds) {
        setMaxRuntimeInSeconds(maxRuntimeInSeconds);
        return this;
    }
<p>
The maximum runtime allowed in seconds.
</p>
<note>
<p>
The <code>MaxRuntimeInSeconds</code> cannot exceed the frequency of the job. For data quality and model
explainability, this can be up to 3600 seconds for an hourly schedule. For model bias and model quality hourly
schedules, this can be up to 1800 seconds.
</p>
</note>

@param maxRuntimeInSeconds
       The maximum runtime allowed in seconds.</p> <note>
       <p>
       The <code>MaxRuntimeInSeconds</code> cannot exceed the frequency of the job. For data quality and model
       explainability, this can be up to 3600 seconds for an hourly schedule. For model bias and model quality
       hourly schedules, this can be up to 1800 seconds.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/MonitoringStoppingCondition.java