Class AutoMLJobChannel
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.AutoMLJobChannel
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoMLJobChannel.Builder,AutoMLJobChannel>
@Generated("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 AutoML jobs V2 (jobs created by calling CreateAutoMLJobV2).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoMLJobChannel.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoMLJobChannel.Builderbuilder()AutoMLChannelTypechannelType()The type of channel.StringchannelTypeAsString()The type of channel.CompressionTypecompressionType()The allowed compression types depend on the input format and problem type.StringcompressionTypeAsString()The allowed compression types depend on the input format and problem type.StringcontentType()The content type of the data from the input source.AutoMLDataSourcedataSource()The data source for an AutoML channel (Required).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AutoMLJobChannel.Builder>serializableBuilderClass()AutoMLJobChannel.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
channelType
public final AutoMLChannelType 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:
AutoMLChannelType
-
channelTypeAsString
public final String 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:
AutoMLChannelType
-
contentType
public final String 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
public final CompressionType 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:
CompressionType
-
compressionTypeAsString
public final String 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:
CompressionType
-
dataSource
public final AutoMLDataSource dataSource()
The data source for an AutoML channel (Required).
- Returns:
- The data source for an AutoML channel (Required).
-
toBuilder
public AutoMLJobChannel.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoMLJobChannel.Builder,AutoMLJobChannel>
-
builder
public static AutoMLJobChannel.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoMLJobChannel.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-