public Integer getMaxWaitTimeInSeconds() {
        return this.maxWaitTimeInSeconds;
    }
<p>
The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of
time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater than
<code>MaxRuntimeInSeconds</code>. If the job does not complete during this time, SageMaker ends the job.
</p>
<p>
When <code>RetryStrategy</code> is specified in the job request, <code>MaxWaitTimeInSeconds</code> specifies the
maximum time for all of the attempts in total, not each individual attempt.
</p>

@return The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the
        amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal
        to or greater than <code>MaxRuntimeInSeconds</code>. If the job does not complete during this time,
        SageMaker ends the job.</p>
        <p>
        When <code>RetryStrategy</code> is specified in the job request, <code>MaxWaitTimeInSeconds</code>
        specifies the maximum time for all of the attempts in total, not each individual attempt.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/StoppingCondition.java