@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) |
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
ContentTypeAutoMLChannelTypepublic 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
ContentTypeAutoMLChannelTypepublic 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
ContentTypeAutoMLChannelTypepublic 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
ContentTypeAutoMLChannelTypepublic 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.CompressionTypepublic 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.CompressionTypepublic 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.CompressionTypepublic 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.CompressionTypepublic 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 ObjectObject.toString()public AutoMLJobChannel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.