/*
* 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
{
///
/// A channel is a named input source that training algorithms can consume. This channel
/// is used for AutoML jobs V2 (jobs created by calling CreateAutoMLJobV2).
///
public partial class AutoMLJobChannel
{
private AutoMLChannelType _channelType;
private CompressionType _compressionType;
private string _contentType;
private AutoMLDataSource _dataSource;
///
/// Gets and sets the property ChannelType.
///
/// The type of channel. Defines whether the data are used for training or validation.
/// The default value is training
. Channels for training
and
/// validation
must share the same ContentType
///
///
///
/// The type of channel defaults to training
for the time-series forecasting
/// problem type.
///
///
///
public AutoMLChannelType ChannelType
{
get { return this._channelType; }
set { this._channelType = value; }
}
// Check to see if ChannelType property is set
internal bool IsSetChannelType()
{
return this._channelType != null;
}
///
/// Gets and sets the property CompressionType.
///
/// The allowed compression types depend on the input format and problem type. We allow
/// the compression type Gzip
for S3Prefix
inputs on tabular
/// data only. For all other inputs, the compression type should be None
.
/// If no compression type is provided, we default to None
.
///
///
public CompressionType CompressionType
{
get { return this._compressionType; }
set { this._compressionType = value; }
}
// Check to see if CompressionType property is set
internal bool IsSetCompressionType()
{
return this._compressionType != null;
}
///
/// Gets and sets the property ContentType.
///
/// The content type of the data from the input source. The following are the allowed
/// content types for different problems:
///
/// -
///
/// For tabular problem types:
text/csv;header=present
or x-application/vnd.amazon+parquet
.
/// The default value is text/csv;header=present
.
///
/// -
///
/// For image classification:
image/png
, image/jpeg
, or image/*
.
/// The default value is image/*
.
///
/// -
///
/// For text classification:
text/csv;header=present
or x-application/vnd.amazon+parquet
.
/// The default value is text/csv;header=present
.
///
/// -
///
/// For time-series forecasting:
text/csv;header=present
or x-application/vnd.amazon+parquet
.
/// The default value is text/csv;header=present
.
///
///
///
[AWSProperty(Max=256)]
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
///
/// Gets and sets the property DataSource.
///
/// The data source for an AutoML channel (Required).
///
///
public AutoMLDataSource DataSource
{
get { return this._dataSource; }
set { this._dataSource = value; }
}
// Check to see if DataSource property is set
internal bool IsSetDataSource()
{
return this._dataSource != null;
}
}
}