@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrainingSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Defines how the algorithm is used for a training job.
| Constructor and Description | 
|---|
| TrainingSpecification() | 
| Modifier and Type | Method and Description | 
|---|---|
| TrainingSpecification | clone() | 
| boolean | equals(Object obj) | 
| List<MetricDefinition> | getMetricDefinitions()
 A list of  MetricDefinitionobjects, which are used for parsing metrics generated by the algorithm. | 
| List<HyperParameterSpecification> | getSupportedHyperParameters()
 A list of the  HyperParameterSpecificationobjects, that define the supported hyperparameters. | 
| List<String> | getSupportedTrainingInstanceTypes()
 A list of the instance types that this algorithm can use for training. | 
| List<HyperParameterTuningJobObjective> | getSupportedTuningJobObjectiveMetrics()
 A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter
 tuning job. | 
| Boolean | getSupportsDistributedTraining()
 Indicates whether the algorithm supports distributed training. | 
| List<ChannelSpecification> | getTrainingChannels()
 A list of  ChannelSpecificationobjects, which specify the input sources to be used by the algorithm. | 
| String | getTrainingImage()
 The Amazon ECR registry path of the Docker image that contains the training algorithm. | 
| String | getTrainingImageDigest()
 An MD5 hash of the training algorithm that identifies the Docker image used for training. | 
| int | hashCode() | 
| Boolean | isSupportsDistributedTraining()
 Indicates whether the algorithm supports distributed training. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
 A list of  MetricDefinitionobjects, which are used for parsing metrics generated by the algorithm. | 
| void | setSupportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters)
 A list of the  HyperParameterSpecificationobjects, that define the supported hyperparameters. | 
| void | setSupportedTrainingInstanceTypes(Collection<String> supportedTrainingInstanceTypes)
 A list of the instance types that this algorithm can use for training. | 
| void | setSupportedTuningJobObjectiveMetrics(Collection<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics)
 A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter
 tuning job. | 
| void | setSupportsDistributedTraining(Boolean supportsDistributedTraining)
 Indicates whether the algorithm supports distributed training. | 
| void | setTrainingChannels(Collection<ChannelSpecification> trainingChannels)
 A list of  ChannelSpecificationobjects, which specify the input sources to be used by the algorithm. | 
| void | setTrainingImage(String trainingImage)
 The Amazon ECR registry path of the Docker image that contains the training algorithm. | 
| void | setTrainingImageDigest(String trainingImageDigest)
 An MD5 hash of the training algorithm that identifies the Docker image used for training. | 
| String | toString()Returns a string representation of this object. | 
| TrainingSpecification | withMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
 A list of  MetricDefinitionobjects, which are used for parsing metrics generated by the algorithm. | 
| TrainingSpecification | withMetricDefinitions(MetricDefinition... metricDefinitions)
 A list of  MetricDefinitionobjects, which are used for parsing metrics generated by the algorithm. | 
| TrainingSpecification | withSupportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters)
 A list of the  HyperParameterSpecificationobjects, that define the supported hyperparameters. | 
| TrainingSpecification | withSupportedHyperParameters(HyperParameterSpecification... supportedHyperParameters)
 A list of the  HyperParameterSpecificationobjects, that define the supported hyperparameters. | 
| TrainingSpecification | withSupportedTrainingInstanceTypes(Collection<String> supportedTrainingInstanceTypes)
 A list of the instance types that this algorithm can use for training. | 
| TrainingSpecification | withSupportedTrainingInstanceTypes(String... supportedTrainingInstanceTypes)
 A list of the instance types that this algorithm can use for training. | 
| TrainingSpecification | withSupportedTrainingInstanceTypes(TrainingInstanceType... supportedTrainingInstanceTypes)
 A list of the instance types that this algorithm can use for training. | 
| TrainingSpecification | withSupportedTuningJobObjectiveMetrics(Collection<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics)
 A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter
 tuning job. | 
| TrainingSpecification | withSupportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics)
 A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter
 tuning job. | 
| TrainingSpecification | withSupportsDistributedTraining(Boolean supportsDistributedTraining)
 Indicates whether the algorithm supports distributed training. | 
| TrainingSpecification | withTrainingChannels(ChannelSpecification... trainingChannels)
 A list of  ChannelSpecificationobjects, which specify the input sources to be used by the algorithm. | 
| TrainingSpecification | withTrainingChannels(Collection<ChannelSpecification> trainingChannels)
 A list of  ChannelSpecificationobjects, which specify the input sources to be used by the algorithm. | 
| TrainingSpecification | withTrainingImage(String trainingImage)
 The Amazon ECR registry path of the Docker image that contains the training algorithm. | 
| TrainingSpecification | withTrainingImageDigest(String trainingImageDigest)
 An MD5 hash of the training algorithm that identifies the Docker image used for training. | 
public void setTrainingImage(String trainingImage)
The Amazon ECR registry path of the Docker image that contains the training algorithm.
trainingImage - The Amazon ECR registry path of the Docker image that contains the training algorithm.public String getTrainingImage()
The Amazon ECR registry path of the Docker image that contains the training algorithm.
public TrainingSpecification withTrainingImage(String trainingImage)
The Amazon ECR registry path of the Docker image that contains the training algorithm.
trainingImage - The Amazon ECR registry path of the Docker image that contains the training algorithm.public void setTrainingImageDigest(String trainingImageDigest)
An MD5 hash of the training algorithm that identifies the Docker image used for training.
trainingImageDigest - An MD5 hash of the training algorithm that identifies the Docker image used for training.public String getTrainingImageDigest()
An MD5 hash of the training algorithm that identifies the Docker image used for training.
public TrainingSpecification withTrainingImageDigest(String trainingImageDigest)
An MD5 hash of the training algorithm that identifies the Docker image used for training.
trainingImageDigest - An MD5 hash of the training algorithm that identifies the Docker image used for training.public List<HyperParameterSpecification> getSupportedHyperParameters()
 A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This
 is required if the algorithm supports automatic model tuning.>
 
HyperParameterSpecification objects, that define the supported
         hyperparameters. This is required if the algorithm supports automatic model tuning.>public void setSupportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters)
 A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This
 is required if the algorithm supports automatic model tuning.>
 
supportedHyperParameters - A list of the HyperParameterSpecification objects, that define the supported hyperparameters.
        This is required if the algorithm supports automatic model tuning.>public TrainingSpecification withSupportedHyperParameters(HyperParameterSpecification... supportedHyperParameters)
 A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This
 is required if the algorithm supports automatic model tuning.>
 
 NOTE: This method appends the values to the existing list (if any). Use
 setSupportedHyperParameters(java.util.Collection) or
 withSupportedHyperParameters(java.util.Collection) if you want to override the existing values.
 
supportedHyperParameters - A list of the HyperParameterSpecification objects, that define the supported hyperparameters.
        This is required if the algorithm supports automatic model tuning.>public TrainingSpecification withSupportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters)
 A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This
 is required if the algorithm supports automatic model tuning.>
 
supportedHyperParameters - A list of the HyperParameterSpecification objects, that define the supported hyperparameters.
        This is required if the algorithm supports automatic model tuning.>public List<String> getSupportedTrainingInstanceTypes()
A list of the instance types that this algorithm can use for training.
TrainingInstanceTypepublic void setSupportedTrainingInstanceTypes(Collection<String> supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.TrainingInstanceTypepublic TrainingSpecification withSupportedTrainingInstanceTypes(String... supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
 NOTE: This method appends the values to the existing list (if any). Use
 setSupportedTrainingInstanceTypes(java.util.Collection) or
 withSupportedTrainingInstanceTypes(java.util.Collection) if you want to override the existing values.
 
supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.TrainingInstanceTypepublic TrainingSpecification withSupportedTrainingInstanceTypes(Collection<String> supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.TrainingInstanceTypepublic TrainingSpecification withSupportedTrainingInstanceTypes(TrainingInstanceType... supportedTrainingInstanceTypes)
A list of the instance types that this algorithm can use for training.
supportedTrainingInstanceTypes - A list of the instance types that this algorithm can use for training.TrainingInstanceTypepublic void setSupportsDistributedTraining(Boolean supportsDistributedTraining)
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
supportsDistributedTraining - Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more
        than one instance during training.public Boolean getSupportsDistributedTraining()
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
public TrainingSpecification withSupportsDistributedTraining(Boolean supportsDistributedTraining)
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
supportsDistributedTraining - Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more
        than one instance during training.public Boolean isSupportsDistributedTraining()
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
public List<MetricDefinition> getMetricDefinitions()
 A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.
 
MetricDefinition objects, which are used for parsing metrics generated by the
         algorithm.public void setMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
 A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.
 
metricDefinitions - A list of MetricDefinition objects, which are used for parsing metrics generated by the
        algorithm.public TrainingSpecification withMetricDefinitions(MetricDefinition... metricDefinitions)
 A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setMetricDefinitions(java.util.Collection) or withMetricDefinitions(java.util.Collection) if
 you want to override the existing values.
 
metricDefinitions - A list of MetricDefinition objects, which are used for parsing metrics generated by the
        algorithm.public TrainingSpecification withMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
 A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.
 
metricDefinitions - A list of MetricDefinition objects, which are used for parsing metrics generated by the
        algorithm.public List<ChannelSpecification> getTrainingChannels()
 A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.
 
ChannelSpecification objects, which specify the input sources to be used by the
         algorithm.public void setTrainingChannels(Collection<ChannelSpecification> trainingChannels)
 A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.
 
trainingChannels - A list of ChannelSpecification objects, which specify the input sources to be used by the
        algorithm.public TrainingSpecification withTrainingChannels(ChannelSpecification... trainingChannels)
 A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setTrainingChannels(java.util.Collection) or withTrainingChannels(java.util.Collection) if you
 want to override the existing values.
 
trainingChannels - A list of ChannelSpecification objects, which specify the input sources to be used by the
        algorithm.public TrainingSpecification withTrainingChannels(Collection<ChannelSpecification> trainingChannels)
 A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.
 
trainingChannels - A list of ChannelSpecification objects, which specify the input sources to be used by the
        algorithm.public List<HyperParameterTuningJobObjective> getSupportedTuningJobObjectiveMetrics()
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
public void setSupportedTuningJobObjectiveMetrics(Collection<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics)
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
supportedTuningJobObjectiveMetrics - A list of the metrics that the algorithm emits that can be used as the objective metric in a
        hyperparameter tuning job.public TrainingSpecification withSupportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics)
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
 NOTE: This method appends the values to the existing list (if any). Use
 setSupportedTuningJobObjectiveMetrics(java.util.Collection) or
 withSupportedTuningJobObjectiveMetrics(java.util.Collection) if you want to override the existing
 values.
 
supportedTuningJobObjectiveMetrics - A list of the metrics that the algorithm emits that can be used as the objective metric in a
        hyperparameter tuning job.public TrainingSpecification withSupportedTuningJobObjectiveMetrics(Collection<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics)
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
supportedTuningJobObjectiveMetrics - A list of the metrics that the algorithm emits that can be used as the objective metric in a
        hyperparameter tuning job.public String toString()
toString in class ObjectObject.toString()public TrainingSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.