Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Channel |
build()
Builds the configured instance.
|
Channel.Builder |
channelName(java.lang.String channelName)
Sets the value of
Channel.getChannelName() |
Channel.Builder |
compressionType(CompressionType compressionType)
Sets the value of
Channel.getCompressionType() |
Channel.Builder |
contentType(java.lang.String contentType)
Sets the value of
Channel.getContentType() |
Channel.Builder |
dataSource(DataSource dataSource)
Sets the value of
Channel.getDataSource() |
Channel.Builder |
inputMode(InputMode inputMode)
Sets the value of
Channel.getInputMode() |
Channel.Builder |
recordWrapperType(RecordWrapperType recordWrapperType)
Sets the value of
Channel.getRecordWrapperType() |
Channel.Builder |
shuffleConfig(ShuffleConfig shuffleConfig)
Sets the value of
Channel.getShuffleConfig() |
public Channel.Builder channelName(java.lang.String channelName)
Channel.getChannelName()
channelName
- Name of the channel. This parameter is required.this
public Channel.Builder dataSource(DataSource dataSource)
Channel.getDataSource()
dataSource
- Location of the channel data. This parameter is required.this
public Channel.Builder compressionType(CompressionType compressionType)
Channel.getCompressionType()
compressionType
- Compression type if training data is compressed.this
public Channel.Builder contentType(java.lang.String contentType)
Channel.getContentType()
contentType
- The MIME type of the data.this
public Channel.Builder inputMode(InputMode inputMode)
Channel.getInputMode()
inputMode
- Input mode to use for the data channel in a training job.this
public Channel.Builder recordWrapperType(RecordWrapperType recordWrapperType)
Channel.getRecordWrapperType()
recordWrapperType
- Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format.
In this case, Amazon 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.this
public Channel.Builder shuffleConfig(ShuffleConfig shuffleConfig)
Channel.getShuffleConfig()
shuffleConfig
- Shuffle config option for input data in a channel.this