/* * 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 { /// /// Configuration for Dataset Definition inputs. The Dataset Definition input must specify /// exactly one of either AthenaDatasetDefinition or RedshiftDatasetDefinition /// types. /// public partial class DatasetDefinition { private AthenaDatasetDefinition _athenaDatasetDefinition; private DataDistributionType _dataDistributionType; private InputMode _inputMode; private string _localPath; private RedshiftDatasetDefinition _redshiftDatasetDefinition; /// /// Gets and sets the property AthenaDatasetDefinition. /// public AthenaDatasetDefinition AthenaDatasetDefinition { get { return this._athenaDatasetDefinition; } set { this._athenaDatasetDefinition = value; } } // Check to see if AthenaDatasetDefinition property is set internal bool IsSetAthenaDatasetDefinition() { return this._athenaDatasetDefinition != null; } /// /// Gets and sets the property DataDistributionType. /// /// Whether the generated dataset is FullyReplicated or ShardedByS3Key /// (default). /// /// public DataDistributionType DataDistributionType { get { return this._dataDistributionType; } set { this._dataDistributionType = value; } } // Check to see if DataDistributionType property is set internal bool IsSetDataDistributionType() { return this._dataDistributionType != null; } /// /// Gets and sets the property InputMode. /// /// Whether to use File or Pipe input mode. In File /// (default) mode, Amazon SageMaker copies the data from the input source onto the local /// Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. /// This is the most commonly used input mode. In Pipe mode, Amazon SageMaker /// streams input data from the source directly to your algorithm without using the EBS /// volume. /// /// public InputMode InputMode { get { return this._inputMode; } set { this._inputMode = value; } } // Check to see if InputMode property is set internal bool IsSetInputMode() { return this._inputMode != null; } /// /// Gets and sets the property LocalPath. /// /// The local path where you want Amazon SageMaker to download the Dataset Definition /// inputs to run a processing job. LocalPath is an absolute path to the /// input data. This is a required parameter when AppManaged is False /// (default). /// /// [AWSProperty(Max=256)] public string LocalPath { get { return this._localPath; } set { this._localPath = value; } } // Check to see if LocalPath property is set internal bool IsSetLocalPath() { return this._localPath != null; } /// /// Gets and sets the property RedshiftDatasetDefinition. /// public RedshiftDatasetDefinition RedshiftDatasetDefinition { get { return this._redshiftDatasetDefinition; } set { this._redshiftDatasetDefinition = value; } } // Check to see if RedshiftDatasetDefinition property is set internal bool IsSetRedshiftDatasetDefinition() { return this._redshiftDatasetDefinition != null; } } }