@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Defines a named input source, called a channel, to be used by an algorithm.
| Constructor and Description |
|---|
ChannelSpecification() |
| Modifier and Type | Method and Description |
|---|---|
ChannelSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A brief description of the channel.
|
Boolean |
getIsRequired()
Indicates whether the channel is required by the algorithm.
|
String |
getName()
The name of the channel.
|
List<String> |
getSupportedCompressionTypes()
The allowed compression types, if data compression is used.
|
List<String> |
getSupportedContentTypes()
The supported MIME types for the data.
|
List<String> |
getSupportedInputModes()
The allowed input mode, either FILE or PIPE.
|
int |
hashCode() |
Boolean |
isRequired()
Indicates whether the channel is required by the algorithm.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDescription(String description)
A brief description of the channel.
|
void |
setIsRequired(Boolean isRequired)
Indicates whether the channel is required by the algorithm.
|
void |
setName(String name)
The name of the channel.
|
void |
setSupportedCompressionTypes(Collection<String> supportedCompressionTypes)
The allowed compression types, if data compression is used.
|
void |
setSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the data.
|
void |
setSupportedInputModes(Collection<String> supportedInputModes)
The allowed input mode, either FILE or PIPE.
|
String |
toString()
Returns a string representation of this object.
|
ChannelSpecification |
withDescription(String description)
A brief description of the channel.
|
ChannelSpecification |
withIsRequired(Boolean isRequired)
Indicates whether the channel is required by the algorithm.
|
ChannelSpecification |
withName(String name)
The name of the channel.
|
ChannelSpecification |
withSupportedCompressionTypes(Collection<String> supportedCompressionTypes)
The allowed compression types, if data compression is used.
|
ChannelSpecification |
withSupportedCompressionTypes(CompressionType... supportedCompressionTypes)
The allowed compression types, if data compression is used.
|
ChannelSpecification |
withSupportedCompressionTypes(String... supportedCompressionTypes)
The allowed compression types, if data compression is used.
|
ChannelSpecification |
withSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the data.
|
ChannelSpecification |
withSupportedContentTypes(String... supportedContentTypes)
The supported MIME types for the data.
|
ChannelSpecification |
withSupportedInputModes(Collection<String> supportedInputModes)
The allowed input mode, either FILE or PIPE.
|
ChannelSpecification |
withSupportedInputModes(String... supportedInputModes)
The allowed input mode, either FILE or PIPE.
|
ChannelSpecification |
withSupportedInputModes(TrainingInputMode... supportedInputModes)
The allowed input mode, either FILE or PIPE.
|
public void setName(String name)
The name of the channel.
name - The name of the channel.public String getName()
The name of the channel.
public ChannelSpecification withName(String name)
The name of the channel.
name - The name of the channel.public void setDescription(String description)
A brief description of the channel.
description - A brief description of the channel.public String getDescription()
A brief description of the channel.
public ChannelSpecification withDescription(String description)
A brief description of the channel.
description - A brief description of the channel.public void setIsRequired(Boolean isRequired)
Indicates whether the channel is required by the algorithm.
isRequired - Indicates whether the channel is required by the algorithm.public Boolean getIsRequired()
Indicates whether the channel is required by the algorithm.
public ChannelSpecification withIsRequired(Boolean isRequired)
Indicates whether the channel is required by the algorithm.
isRequired - Indicates whether the channel is required by the algorithm.public Boolean isRequired()
Indicates whether the channel is required by the algorithm.
public List<String> getSupportedContentTypes()
The supported MIME types for the data.
public void setSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the data.
supportedContentTypes - The supported MIME types for the data.public ChannelSpecification withSupportedContentTypes(String... supportedContentTypes)
The supported MIME types for the data.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedContentTypes(java.util.Collection) or
withSupportedContentTypes(java.util.Collection) if you want to override the existing values.
supportedContentTypes - The supported MIME types for the data.public ChannelSpecification withSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the data.
supportedContentTypes - The supported MIME types for the data.public List<String> getSupportedCompressionTypes()
The allowed compression types, if data compression is used.
CompressionTypepublic void setSupportedCompressionTypes(Collection<String> supportedCompressionTypes)
The allowed compression types, if data compression is used.
supportedCompressionTypes - The allowed compression types, if data compression is used.CompressionTypepublic ChannelSpecification withSupportedCompressionTypes(String... supportedCompressionTypes)
The allowed compression types, if data compression is used.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedCompressionTypes(java.util.Collection) or
withSupportedCompressionTypes(java.util.Collection) if you want to override the existing values.
supportedCompressionTypes - The allowed compression types, if data compression is used.CompressionTypepublic ChannelSpecification withSupportedCompressionTypes(Collection<String> supportedCompressionTypes)
The allowed compression types, if data compression is used.
supportedCompressionTypes - The allowed compression types, if data compression is used.CompressionTypepublic ChannelSpecification withSupportedCompressionTypes(CompressionType... supportedCompressionTypes)
The allowed compression types, if data compression is used.
supportedCompressionTypes - The allowed compression types, if data compression is used.CompressionTypepublic List<String> getSupportedInputModes()
The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
TrainingInputModepublic void setSupportedInputModes(Collection<String> supportedInputModes)
The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
supportedInputModes - The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
TrainingInputModepublic ChannelSpecification withSupportedInputModes(String... supportedInputModes)
The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedInputModes(java.util.Collection) or withSupportedInputModes(java.util.Collection)
if you want to override the existing values.
supportedInputModes - The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
TrainingInputModepublic ChannelSpecification withSupportedInputModes(Collection<String> supportedInputModes)
The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
supportedInputModes - The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
TrainingInputModepublic ChannelSpecification withSupportedInputModes(TrainingInputMode... supportedInputModes)
The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
supportedInputModes - The allowed input mode, either FILE or PIPE.
In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.
In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
TrainingInputModepublic String toString()
toString in class ObjectObject.toString()public ChannelSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.