public static interface Channel.Builder extends CopyableBuilder<Channel.Builder,Channel>
Modifier and Type | Method and Description |
---|---|
Channel.Builder |
channelName(String channelName)
The name of the channel.
|
Channel.Builder |
compressionType(CompressionType compressionType)
If training data is compressed, the compression type.
|
Channel.Builder |
compressionType(String compressionType)
If training data is compressed, the compression type.
|
Channel.Builder |
contentType(String contentType)
The MIME type of the data.
|
default Channel.Builder |
dataSource(Consumer<DataSource.Builder> dataSource)
The location of the channel data.
|
Channel.Builder |
dataSource(DataSource dataSource)
The location of the channel data.
|
Channel.Builder |
recordWrapperType(RecordWrapper recordWrapperType)
|
Channel.Builder |
recordWrapperType(String recordWrapperType)
|
copy
applyMutation, build
Channel.Builder channelName(String channelName)
The name of the channel.
channelName
- The name of the channel.Channel.Builder dataSource(DataSource dataSource)
The location of the channel data.
dataSource
- The location of the channel data.default Channel.Builder dataSource(Consumer<DataSource.Builder> dataSource)
The location of the channel data.
This is a convenience that creates an instance of theDataSource.Builder
avoiding the need to create
one manually via DataSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to dataSource(DataSource)
.dataSource
- a consumer that will call methods on DataSource.Builder
dataSource(DataSource)
Channel.Builder contentType(String contentType)
The MIME type of the data.
contentType
- The MIME type of the data.Channel.Builder compressionType(String compressionType)
If training data is compressed, the compression type. The default value is None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or set it
to None.
compressionType
- If training data is compressed, the compression type. The default value is None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or
set it to None.CompressionType
,
CompressionType
Channel.Builder compressionType(CompressionType compressionType)
If training data is compressed, the compression type. The default value is None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or set it
to None.
compressionType
- If training data is compressed, the compression type. The default value is None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or
set it to None.CompressionType
,
CompressionType
Channel.Builder recordWrapperType(String recordWrapperType)
Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
recordWrapperType
- Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
RecordWrapper
,
RecordWrapper
Channel.Builder recordWrapperType(RecordWrapper recordWrapperType)
Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
recordWrapperType
- Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
RecordWrapper
,
RecordWrapper
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.