@Generated(value="software.amazon.awssdk:codegen") public final class AutoMLJobChannel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoMLJobChannel.Builder,AutoMLJobChannel>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AutoMLJobChannel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AutoMLJobChannel.Builder |
builder() |
AutoMLChannelType |
channelType()
The type of channel.
|
String |
channelTypeAsString()
The type of channel.
|
CompressionType |
compressionType()
The allowed compression types depend on the input format.
|
String |
compressionTypeAsString()
The allowed compression types depend on the input format.
|
String |
contentType()
The content type of the data from the input source.
|
AutoMLDataSource |
dataSource()
The data source for an AutoML channel.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutoMLJobChannel.Builder> |
serializableBuilderClass() |
AutoMLJobChannel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
If the service returns an enum value that is not available in the current SDK version, channelType will
return AutoMLChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
channelTypeAsString().
training. Channels for training and validation must share the same
ContentTypeAutoMLChannelTypepublic final String channelTypeAsString()
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
If the service returns an enum value that is not available in the current SDK version, channelType will
return AutoMLChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
channelTypeAsString().
training. Channels for training and validation must share the same
ContentTypeAutoMLChannelTypepublic final 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
ImageClassification: image/png, image/jpeg, image/*
TextClassification: text/csv;header=present
public final 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.
If the service returns an enum value that is not available in the current SDK version, compressionType
will return CompressionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from compressionTypeAsString().
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 final String compressionTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, compressionType
will return CompressionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from compressionTypeAsString().
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 final AutoMLDataSource dataSource()
The data source for an AutoML channel.
public AutoMLJobChannel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AutoMLJobChannel.Builder,AutoMLJobChannel>public static AutoMLJobChannel.Builder builder()
public static Class<? extends AutoMLJobChannel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.