@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoMLJobChannel extends Object implements Serializable, Cloneable, StructuredPojo
A channel is a named input source that training algorithms can consume. This channel is used for the non tabular training data of an AutoML job using the V2 API. For tabular training data, see AutoMLChannel. For more information, see Channel.
Constructor and Description |
---|
AutoMLJobChannel() |
Modifier and Type | Method and Description |
---|---|
AutoMLJobChannel |
clone() |
boolean |
equals(Object obj) |
String |
getChannelType()
The type of channel.
|
String |
getCompressionType()
The allowed compression types depend on the input format.
|
String |
getContentType()
The content type of the data from the input source.
|
AutoMLDataSource |
getDataSource()
The data source for an AutoML channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelType(String channelType)
The type of channel.
|
void |
setCompressionType(String compressionType)
The allowed compression types depend on the input format.
|
void |
setContentType(String contentType)
The content type of the data from the input source.
|
void |
setDataSource(AutoMLDataSource dataSource)
The data source for an AutoML channel.
|
String |
toString()
Returns a string representation of this object.
|
AutoMLJobChannel |
withChannelType(AutoMLChannelType channelType)
The type of channel.
|
AutoMLJobChannel |
withChannelType(String channelType)
The type of channel.
|
AutoMLJobChannel |
withCompressionType(CompressionType compressionType)
The allowed compression types depend on the input format.
|
AutoMLJobChannel |
withCompressionType(String compressionType)
The allowed compression types depend on the input format.
|
AutoMLJobChannel |
withContentType(String contentType)
The content type of the data from the input source.
|
AutoMLJobChannel |
withDataSource(AutoMLDataSource dataSource)
The data source for an AutoML channel.
|
public void setChannelType(String 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
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
AutoMLChannelType
public String getChannelType()
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
training
. Channels for training
and validation
must share the same
ContentType
AutoMLChannelType
public AutoMLJobChannel withChannelType(String 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
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
AutoMLChannelType
public AutoMLJobChannel withChannelType(AutoMLChannelType 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
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
AutoMLChannelType
public void setContentType(String contentType)
The content type of the data from the input source. The following are the allowed content types for different problems:
ImageClassification: image/png
, image/jpeg
, image/*
TextClassification: text/csv;header=present
contentType
- The content type of the data from the input source. The following are the allowed content types for
different problems:
ImageClassification: image/png
, image/jpeg
, image/*
TextClassification: text/csv;header=present
public String getContentType()
The content type of the data from the input source. The following are the allowed content types for different problems:
ImageClassification: image/png
, image/jpeg
, image/*
TextClassification: text/csv;header=present
ImageClassification: image/png
, image/jpeg
, image/*
TextClassification: text/csv;header=present
public AutoMLJobChannel withContentType(String contentType)
The content type of the data from the input source. The following are the allowed content types for different problems:
ImageClassification: image/png
, image/jpeg
, image/*
TextClassification: text/csv;header=present
contentType
- The content type of the data from the input source. The following are the allowed content types for
different problems:
ImageClassification: image/png
, image/jpeg
, image/*
TextClassification: text/csv;header=present
public void setCompressionType(String compressionType)
The allowed compression types depend on the input format. We allow the compression type Gzip
for
S3Prefix
inputs only. For all other inputs, the compression type should be None
. If no
compression type is provided, we default to None
.
compressionType
- The allowed compression types depend on the input format. We allow the compression type Gzip
for S3Prefix
inputs only. For all other inputs, the compression type should be
None
. If no compression type is provided, we default to None
.CompressionType
public String getCompressionType()
The allowed compression types depend on the input format. We allow the compression type Gzip
for
S3Prefix
inputs only. For all other inputs, the compression type should be None
. If no
compression type is provided, we default to None
.
Gzip
for S3Prefix
inputs only. For all other inputs, the compression type should be
None
. If no compression type is provided, we default to None
.CompressionType
public AutoMLJobChannel withCompressionType(String compressionType)
The allowed compression types depend on the input format. We allow the compression type Gzip
for
S3Prefix
inputs only. For all other inputs, the compression type should be None
. If no
compression type is provided, we default to None
.
compressionType
- The allowed compression types depend on the input format. We allow the compression type Gzip
for S3Prefix
inputs only. For all other inputs, the compression type should be
None
. If no compression type is provided, we default to None
.CompressionType
public AutoMLJobChannel withCompressionType(CompressionType compressionType)
The allowed compression types depend on the input format. We allow the compression type Gzip
for
S3Prefix
inputs only. For all other inputs, the compression type should be None
. If no
compression type is provided, we default to None
.
compressionType
- The allowed compression types depend on the input format. We allow the compression type Gzip
for S3Prefix
inputs only. For all other inputs, the compression type should be
None
. If no compression type is provided, we default to None
.CompressionType
public void setDataSource(AutoMLDataSource dataSource)
The data source for an AutoML channel.
dataSource
- The data source for an AutoML channel.public AutoMLDataSource getDataSource()
The data source for an AutoML channel.
public AutoMLJobChannel withDataSource(AutoMLDataSource dataSource)
The data source for an AutoML channel.
dataSource
- The data source for an AutoML channel.public String toString()
toString
in class Object
Object.toString()
public AutoMLJobChannel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.