public static interface AutoMLJobChannel.Builder extends SdkPojo, CopyableBuilder<AutoMLJobChannel.Builder,AutoMLJobChannel>
| Modifier and Type | Method and Description |
|---|---|
AutoMLJobChannel.Builder |
channelType(AutoMLChannelType channelType)
The type of channel.
|
AutoMLJobChannel.Builder |
channelType(String channelType)
The type of channel.
|
AutoMLJobChannel.Builder |
compressionType(CompressionType compressionType)
The allowed compression types depend on the input format and problem type.
|
AutoMLJobChannel.Builder |
compressionType(String compressionType)
The allowed compression types depend on the input format and problem type.
|
AutoMLJobChannel.Builder |
contentType(String contentType)
The content type of the data from the input source.
|
AutoMLJobChannel.Builder |
dataSource(AutoMLDataSource dataSource)
The data source for an AutoML channel (Required).
|
default AutoMLJobChannel.Builder |
dataSource(Consumer<AutoMLDataSource.Builder> dataSource)
The data source for an AutoML channel (Required).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoMLJobChannel.Builder channelType(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 ContentTypeAutoMLChannelType,
AutoMLChannelTypeAutoMLJobChannel.Builder channelType(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 ContentTypeAutoMLChannelType,
AutoMLChannelTypeAutoMLJobChannel.Builder contentType(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=present or
x-application/vnd.amazon+parquet. The default value is text/csv;header=present.
For ImageClassification: image/png, image/jpeg, or image/*. The
default value is image/*.
For TextClassification: text/csv;header=present or x-application/vnd.amazon+parquet
. The default value is 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:
For Tabular problem types: text/csv;header=present or
x-application/vnd.amazon+parquet. The default value is
text/csv;header=present.
For ImageClassification: image/png, image/jpeg, or image/*. The
default value is image/*.
For TextClassification: text/csv;header=present or
x-application/vnd.amazon+parquet. The default value is
text/csv;header=present.
AutoMLJobChannel.Builder compressionType(String compressionType)
The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip for S3Prefix inputs on tabular data 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 and problem type. We allow the compression
type Gzip for S3Prefix inputs on tabular data only. For all other inputs,
the compression type should be None. If no compression type is provided, we default to
None.CompressionType,
CompressionTypeAutoMLJobChannel.Builder compressionType(CompressionType compressionType)
The allowed compression types depend on the input format and problem type. We allow the compression type
Gzip for S3Prefix inputs on tabular data 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 and problem type. We allow the compression
type Gzip for S3Prefix inputs on tabular data only. For all other inputs,
the compression type should be None. If no compression type is provided, we default to
None.CompressionType,
CompressionTypeAutoMLJobChannel.Builder dataSource(AutoMLDataSource dataSource)
The data source for an AutoML channel (Required).
dataSource - The data source for an AutoML channel (Required).default AutoMLJobChannel.Builder dataSource(Consumer<AutoMLDataSource.Builder> dataSource)
The data source for an AutoML channel (Required).
This is a convenience method that creates an instance of theAutoMLDataSource.Builder avoiding the
need to create one manually via AutoMLDataSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to dataSource(AutoMLDataSource).
dataSource - a consumer that will call methods on AutoMLDataSource.BuilderdataSource(AutoMLDataSource)Copyright © 2023. All rights reserved.