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.
|
AutoMLJobChannel.Builder |
compressionType(String compressionType)
The allowed compression types depend on the input format.
|
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.
|
default AutoMLJobChannel.Builder |
dataSource(Consumer<AutoMLDataSource.Builder> dataSource)
The data source for an AutoML channel.
|
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:
ImageClassification: image/png, image/jpeg, image/*
TextClassification: 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:
ImageClassification: image/png, image/jpeg, image/*
TextClassification: text/csv;header=present
AutoMLJobChannel.Builder compressionType(String 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.
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.CompressionType,
CompressionTypeAutoMLJobChannel.Builder compressionType(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.
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.CompressionType,
CompressionTypeAutoMLJobChannel.Builder dataSource(AutoMLDataSource dataSource)
The data source for an AutoML channel.
dataSource - The data source for an AutoML channel.default AutoMLJobChannel.Builder dataSource(Consumer<AutoMLDataSource.Builder> dataSource)
The data source for an AutoML channel.
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.