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.Builderbuilder()final AutoMLChannelTypeThe type of channel.final StringThe type of channel.final CompressionTypeThe allowed compression types depend on the input format and problem type.final StringThe allowed compression types depend on the input format and problem type.final StringThe content type of the data from the input source.final AutoMLDataSourceThe data source for an AutoML channel (Required).final booleanfinal booleanequalsBySdkFields(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 inthashCode()static Class<? extends AutoMLJobChannel.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()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 fortrainingandvalidationmust share the sameContentTypeThe type of channel defaults to
trainingfor the time-series forecasting problem type.If the service returns an enum value that is not available in the current SDK version,
channelTypewill 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 fortrainingandvalidationmust share the sameContentTypeThe type of channel defaults to
trainingfor 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 fortrainingandvalidationmust share the sameContentTypeThe type of channel defaults to
trainingfor the time-series forecasting problem type.If the service returns an enum value that is not available in the current SDK version,
channelTypewill 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 fortrainingandvalidationmust share the sameContentTypeThe type of channel defaults to
trainingfor 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=presentorx-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=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present. -
For time-series forecasting:
text/csv;header=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present. -
For text generation (LLMs fine-tuning):
text/csv;header=presentorx-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=presentorx-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=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present. -
For time-series forecasting:
text/csv;header=presentorx-application/vnd.amazon+parquet. The default value istext/csv;header=present. -
For text generation (LLMs fine-tuning):
text/csv;header=presentorx-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
GzipforS3Prefixinputs 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,
compressionTypewill 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
GzipforS3Prefixinputs 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
GzipforS3Prefixinputs 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,
compressionTypewill 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
GzipforS3Prefixinputs 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoMLJobChannel.Builder,AutoMLJobChannel> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-