/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SageMaker.Model { /// /// Specifies the maximum number of training jobs and parallel training jobs that a hyperparameter /// tuning job can launch. /// public partial class ResourceLimits { private int? _maxNumberOfTrainingJobs; private int? _maxParallelTrainingJobs; private int? _maxRuntimeInSeconds; /// /// Gets and sets the property MaxNumberOfTrainingJobs. /// /// The maximum number of training jobs that a hyperparameter tuning job can launch. /// /// [AWSProperty(Min=1)] public int MaxNumberOfTrainingJobs { get { return this._maxNumberOfTrainingJobs.GetValueOrDefault(); } set { this._maxNumberOfTrainingJobs = value; } } // Check to see if MaxNumberOfTrainingJobs property is set internal bool IsSetMaxNumberOfTrainingJobs() { return this._maxNumberOfTrainingJobs.HasValue; } /// /// Gets and sets the property MaxParallelTrainingJobs. /// /// The maximum number of concurrent training jobs that a hyperparameter tuning job can /// launch. /// /// [AWSProperty(Required=true, Min=1)] public int MaxParallelTrainingJobs { get { return this._maxParallelTrainingJobs.GetValueOrDefault(); } set { this._maxParallelTrainingJobs = value; } } // Check to see if MaxParallelTrainingJobs property is set internal bool IsSetMaxParallelTrainingJobs() { return this._maxParallelTrainingJobs.HasValue; } /// /// Gets and sets the property MaxRuntimeInSeconds. /// /// The maximum time in seconds that a hyperparameter tuning job can run. /// /// [AWSProperty(Min=120, Max=15768000)] public int MaxRuntimeInSeconds { get { return this._maxRuntimeInSeconds.GetValueOrDefault(); } set { this._maxRuntimeInSeconds = value; } } // Check to see if MaxRuntimeInSeconds property is set internal bool IsSetMaxRuntimeInSeconds() { return this._maxRuntimeInSeconds.HasValue; } } }