| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Channel |
build()
Builds the configured instance.
|
Channel.Builder |
withChannelName(String value)
Sets the value of ChannelName
|
Channel.Builder |
withCompressionType(CompressionType value)
Sets the value of CompressionType
|
Channel.Builder |
withContentType(String value)
Sets the value of ContentType
|
Channel.Builder |
withDataSource(DataSource value)
Sets the value of DataSource
|
Channel.Builder |
withInputMode(InputMode value)
Sets the value of InputMode
|
Channel.Builder |
withRecordWrapperType(RecordWrapperType value)
Sets the value of RecordWrapperType
|
Channel.Builder |
withShuffleConfig(ShuffleConfig value)
Sets the value of ShuffleConfig
|
@Stability(value=Experimental) public Channel.Builder withChannelName(String value)
value - Name of the channel.this@Stability(value=Experimental) public Channel.Builder withDataSource(DataSource value)
value - Location of the data channel.this@Stability(value=Experimental) public Channel.Builder withCompressionType(@Nullable CompressionType value)
value - Compression type if training data is compressed.this@Stability(value=Experimental) public Channel.Builder withContentType(@Nullable String value)
value - Content type.this@Stability(value=Experimental) public Channel.Builder withInputMode(@Nullable InputMode value)
value - Input mode to use for the data channel in a training job.this@Stability(value=Experimental) public Channel.Builder withRecordWrapperType(@Nullable RecordWrapperType value)
value - Record wrapper type.this@Stability(value=Experimental) public Channel.Builder withShuffleConfig(@Nullable ShuffleConfig value)
value - 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.