| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Channel |
build()
Builds the configured instance.
|
Channel.Builder |
channelName(String channelName)
Sets the value of
Channel.getChannelName() |
Channel.Builder |
compressionType(CompressionType compressionType)
Sets the value of
Channel.getCompressionType() |
Channel.Builder |
contentType(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() |
@Stability(value=Experimental) public Channel.Builder channelName(String channelName)
Channel.getChannelName()channelName - Name of the channel. This parameter is required.this@Stability(value=Experimental) public Channel.Builder dataSource(DataSource dataSource)
Channel.getDataSource()dataSource - Location of the data channel. This parameter is required.this@Stability(value=Experimental) public Channel.Builder compressionType(CompressionType compressionType)
Channel.getCompressionType()compressionType - Compression type if training data is compressed.this@Stability(value=Experimental) public Channel.Builder contentType(String contentType)
Channel.getContentType()contentType - Content type.this@Stability(value=Experimental) public Channel.Builder inputMode(InputMode inputMode)
Channel.getInputMode()inputMode - Input mode to use for the data channel in a training job.this@Stability(value=Experimental) public Channel.Builder recordWrapperType(RecordWrapperType recordWrapperType)
Channel.getRecordWrapperType()recordWrapperType - Record wrapper type.this@Stability(value=Experimental) public Channel.Builder shuffleConfig(ShuffleConfig shuffleConfig)
Channel.getShuffleConfig()shuffleConfig - Shuffle config option for input data in a channel.this@Stability(value=Experimental) public Channel build()
ChannelNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.