Class AutoMLJobChannel
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AutoMLJobChannel.Builder,
AutoMLJobChannel>
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).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoMLJobChannel.Builder
builder()
final AutoMLChannelType
The type of channel.final String
The type of channel.final CompressionType
The allowed compression types depend on the input format and problem type.final String
The allowed compression types depend on the input format and problem type.final String
The content type of the data from the input source.final AutoMLDataSource
The data source for an AutoML channel (Required).final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends AutoMLJobChannel.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
channelType
The type of channel. Defines whether the data are used for training or validation. The default value is
training
. Channels fortraining
andvalidation
must share the sameContentType
The type of channel defaults to
training
for the time-series forecasting problem type.If the service returns an enum value that is not available in the current SDK version,
channelType
will returnAutoMLChannelType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromchannelTypeAsString()
.- Returns:
- The type of channel. Defines whether the data are used for training or validation. The default value is
training
. Channels fortraining
andvalidation
must share the sameContentType
The type of channel defaults to
training
for the time-series forecasting problem type. - See Also:
-
channelTypeAsString
The type of channel. Defines whether the data are used for training or validation. The default value is
training
. Channels fortraining
andvalidation
must share the sameContentType
The type of channel defaults to
training
for the time-series forecasting problem type.If the service returns an enum value that is not available in the current SDK version,
channelType
will returnAutoMLChannelType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromchannelTypeAsString()
.- Returns:
- The type of channel. Defines whether the data are used for training or validation. The default value is
training
. Channels fortraining
andvalidation
must share the sameContentType
The type of channel defaults to
training
for the time-series forecasting problem type. - See Also:
-
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
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
. -
For image classification:
image/png
,image/jpeg
, orimage/*
. The default value isimage/*
. -
For text classification:
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
. -
For time-series forecasting:
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
. -
For text generation (LLMs fine-tuning):
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.
- Returns:
- 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
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
. -
For image classification:
image/png
,image/jpeg
, orimage/*
. The default value isimage/*
. -
For text classification:
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
. -
For time-series forecasting:
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
. -
For text generation (LLMs fine-tuning):
text/csv;header=present
orx-application/vnd.amazon+parquet
. The default value istext/csv;header=present
.
-
-
-
compressionType
The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip
forS3Prefix
inputs on tabular data only. For all other inputs, the compression type should beNone
. If no compression type is provided, we default toNone
.If the service returns an enum value that is not available in the current SDK version,
compressionType
will returnCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcompressionTypeAsString()
.- Returns:
- The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip
forS3Prefix
inputs on tabular data only. For all other inputs, the compression type should beNone
. If no compression type is provided, we default toNone
. - See Also:
-
compressionTypeAsString
The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip
forS3Prefix
inputs on tabular data only. For all other inputs, the compression type should beNone
. If no compression type is provided, we default toNone
.If the service returns an enum value that is not available in the current SDK version,
compressionType
will returnCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcompressionTypeAsString()
.- Returns:
- The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip
forS3Prefix
inputs on tabular data only. For all other inputs, the compression type should beNone
. If no compression type is provided, we default toNone
. - See Also:
-
dataSource
The data source for an AutoML channel (Required).
- Returns:
- The data source for an AutoML channel (Required).
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AutoMLJobChannel.Builder,
AutoMLJobChannel> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-