@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.448Z") @Stability(value=Stable) public interface Channel extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.tasks.*;
S3Location s3Location;
Channel channel = Channel.builder()
.channelName("channelName")
.dataSource(DataSource.builder()
.s3DataSource(S3DataSource.builder()
.s3Location(s3Location)
// the properties below are optional
.attributeNames(List.of("attributeNames"))
.s3DataDistributionType(S3DataDistributionType.FULLY_REPLICATED)
.s3DataType(S3DataType.MANIFEST_FILE)
.build())
.build())
// the properties below are optional
.compressionType(CompressionType.NONE)
.contentType("contentType")
.inputMode(InputMode.PIPE)
.recordWrapperType(RecordWrapperType.NONE)
.shuffleConfig(ShuffleConfig.builder()
.seed(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Channel.Builder
A builder for
Channel |
static class |
Channel.Jsii$Proxy
An implementation for
Channel |
| Modifier and Type | Method and Description |
|---|---|
static Channel.Builder |
builder() |
String |
getChannelName()
Name of the channel.
|
default CompressionType |
getCompressionType()
Compression type if training data is compressed.
|
default String |
getContentType()
The MIME type of the data.
|
DataSource |
getDataSource()
Location of the channel data.
|
default InputMode |
getInputMode()
Input mode to use for the data channel in a training job.
|
default RecordWrapperType |
getRecordWrapperType()
Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format.
|
default ShuffleConfig |
getShuffleConfig()
Shuffle config option for input data in a channel.
|
@Stability(value=Stable) @NotNull String getChannelName()
@Stability(value=Stable) @NotNull DataSource getDataSource()
@Stability(value=Stable) @Nullable default CompressionType getCompressionType()
Default: - None
@Stability(value=Stable) @Nullable default String getContentType()
Default: - None
@Stability(value=Stable) @Nullable default InputMode getInputMode()
Default: - None
@Stability(value=Stable) @Nullable default RecordWrapperType getRecordWrapperType()
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.
Default: - None
@Stability(value=Stable) @Nullable default ShuffleConfig getShuffleConfig()
Default: - None
@Stability(value=Stable) static Channel.Builder builder()
Channel.Builder of ChannelCopyright © 2022. All rights reserved.