@Generated(value="software.amazon.awssdk:codegen") public final class Channel extends Object implements StructuredPojo, ToCopyableBuilder<Channel.Builder,Channel>
A channel is a named input source that training algorithms can consume.
Modifier and Type | Class and Description |
---|---|
static interface |
Channel.Builder |
Modifier and Type | Method and Description |
---|---|
static Channel.Builder |
builder() |
String |
channelName()
The name of the channel.
|
CompressionType |
compressionType()
If training data is compressed, the compression type.
|
String |
compressionTypeAsString()
If training data is compressed, the compression type.
|
String |
contentType()
The MIME type of the data.
|
DataSource |
dataSource()
The location of the channel data.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
RecordWrapper |
recordWrapperType()
|
String |
recordWrapperTypeAsString()
|
static Class<? extends Channel.Builder> |
serializableBuilderClass() |
Channel.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String channelName()
The name of the channel.
public DataSource dataSource()
The location of the channel data.
public String contentType()
The MIME type of the data.
public CompressionType compressionType()
If training data is compressed, the compression type. The default value is None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or set it to
None.
If the service returns an enum value that is not available in the current SDK version, compressionType
will return CompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from compressionTypeAsString()
.
None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or set
it to None.CompressionType
public String compressionTypeAsString()
If training data is compressed, the compression type. The default value is None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or set it to
None.
If the service returns an enum value that is not available in the current SDK version, compressionType
will return CompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from compressionTypeAsString()
.
None
.
CompressionType
is used only in PIPE input mode. In FILE mode, leave this field unset or set
it to None.CompressionType
public RecordWrapper recordWrapperType()
Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon 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. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
If the service returns an enum value that is not available in the current SDK version, recordWrapperType
will return RecordWrapper.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
recordWrapperTypeAsString()
.
Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon 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. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
RecordWrapper
public String recordWrapperTypeAsString()
Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon 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. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
If the service returns an enum value that is not available in the current SDK version, recordWrapperType
will return RecordWrapper.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
recordWrapperTypeAsString()
.
Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format, in which caseAmazon 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. For more information, see Create a Dataset Using RecordIO.
In FILE mode, leave this field unset or set it to None.
RecordWrapper
public Channel.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Channel.Builder,Channel>
public static Channel.Builder builder()
public static Class<? extends Channel.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.