| 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 ChannelName
|
Channel.Builder |
compressionType(CompressionType compressionType)
Sets the value of CompressionType
|
Channel.Builder |
contentType(String contentType)
Sets the value of ContentType
|
Channel.Builder |
dataSource(DataSource dataSource)
Sets the value of DataSource
|
Channel.Builder |
inputMode(InputMode inputMode)
Sets the value of InputMode
|
Channel.Builder |
recordWrapperType(RecordWrapperType recordWrapperType)
Sets the value of RecordWrapperType
|
Channel.Builder |
shuffleConfig(ShuffleConfig shuffleConfig)
Sets the value of ShuffleConfig
|
@Stability(value=Experimental) public Channel.Builder channelName(String channelName)
channelName - Name of the channel. This parameter is required.this@Stability(value=Experimental) public Channel.Builder dataSource(DataSource dataSource)
dataSource - Location of the data channel. This parameter is required.this@Stability(value=Experimental) public Channel.Builder compressionType(CompressionType compressionType)
compressionType - Compression type if training data is compressed.this@Stability(value=Experimental) public Channel.Builder contentType(String contentType)
contentType - Content type.this@Stability(value=Experimental) public Channel.Builder inputMode(InputMode inputMode)
inputMode - Input mode to use for the data channel in a training job.this@Stability(value=Experimental) public Channel.Builder recordWrapperType(RecordWrapperType recordWrapperType)
recordWrapperType - Record wrapper type.this@Stability(value=Experimental) public Channel.Builder shuffleConfig(ShuffleConfig shuffleConfig)
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 © 2019. All rights reserved.