public ResourceLimits withMaxNumberOfTrainingJobs(Integer maxNumberOfTrainingJobs) {
        setMaxNumberOfTrainingJobs(maxNumberOfTrainingJobs);
        return this;
    }
<p>
The maximum number of training jobs that a hyperparameter tuning job can launch.
</p>

@param maxNumberOfTrainingJobs
       The maximum number of training jobs that a hyperparameter tuning job can launch.
@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/ResourceLimits.java