/* * 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 configurations for one or more training jobs that SageMaker runs to test /// the algorithm. /// public partial class AlgorithmValidationSpecification { private List _validationProfiles = new List(); private string _validationRole; /// /// Gets and sets the property ValidationProfiles. /// /// An array of AlgorithmValidationProfile objects, each of which specifies /// a training job and batch transform job that SageMaker runs to validate your algorithm. /// /// [AWSProperty(Required=true, Min=1, Max=1)] public List ValidationProfiles { get { return this._validationProfiles; } set { this._validationProfiles = value; } } // Check to see if ValidationProfiles property is set internal bool IsSetValidationProfiles() { return this._validationProfiles != null && this._validationProfiles.Count > 0; } /// /// Gets and sets the property ValidationRole. /// /// The IAM roles that SageMaker uses to run the training jobs. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string ValidationRole { get { return this._validationRole; } set { this._validationRole = value; } } // Check to see if ValidationRole property is set internal bool IsSetValidationRole() { return this._validationRole != null; } } }