Interface TrainingSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrainingSpecification.Builder,,TrainingSpecification> SdkBuilder<TrainingSpecification.Builder,,TrainingSpecification> SdkPojo
- Enclosing class:
TrainingSpecification
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrainingSpecification.BuilderadditionalS3DataSource(Consumer<AdditionalS3DataSource.Builder> additionalS3DataSource) The additional data source used during the training job.additionalS3DataSource(AdditionalS3DataSource additionalS3DataSource) The additional data source used during the training job.metricDefinitions(Collection<MetricDefinition> metricDefinitions) A list ofMetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions) A list ofMetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.metricDefinitions(MetricDefinition... metricDefinitions) A list ofMetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.supportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters) A list of theHyperParameterSpecificationobjects, that define the supported hyperparameters.supportedHyperParameters(Consumer<HyperParameterSpecification.Builder>... supportedHyperParameters) A list of theHyperParameterSpecificationobjects, that define the supported hyperparameters.supportedHyperParameters(HyperParameterSpecification... supportedHyperParameters) A list of theHyperParameterSpecificationobjects, that define the supported hyperparameters.supportedTrainingInstanceTypes(Collection<TrainingInstanceType> supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.supportedTrainingInstanceTypes(TrainingInstanceType... supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.supportedTrainingInstanceTypesWithStrings(String... supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.supportedTrainingInstanceTypesWithStrings(Collection<String> supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.supportedTuningJobObjectiveMetrics(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(Consumer<HyperParameterTuningJobObjective.Builder>... supportedTuningJobObjectiveMetrics) A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.supportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics) A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.supportsDistributedTraining(Boolean supportsDistributedTraining) Indicates whether the algorithm supports distributed training.trainingChannels(Collection<ChannelSpecification> trainingChannels) A list ofChannelSpecificationobjects, which specify the input sources to be used by the algorithm.trainingChannels(Consumer<ChannelSpecification.Builder>... trainingChannels) A list ofChannelSpecificationobjects, which specify the input sources to be used by the algorithm.trainingChannels(ChannelSpecification... trainingChannels) A list ofChannelSpecificationobjects, which specify the input sources to be used by the algorithm.trainingImage(String trainingImage) The Amazon ECR registry path of the Docker image that contains the training algorithm.trainingImageDigest(String trainingImageDigest) An MD5 hash of the training algorithm that identifies the Docker image used for training.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
trainingImage
The Amazon ECR registry path of the Docker image that contains the training algorithm.
- Parameters:
trainingImage- The Amazon ECR registry path of the Docker image that contains the training algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingImageDigest
An MD5 hash of the training algorithm that identifies the Docker image used for training.
- Parameters:
trainingImageDigest- An MD5 hash of the training algorithm that identifies the Docker image used for training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedHyperParameters
TrainingSpecification.Builder supportedHyperParameters(Collection<HyperParameterSpecification> supportedHyperParameters) A list of the
HyperParameterSpecificationobjects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>- Parameters:
supportedHyperParameters- A list of theHyperParameterSpecificationobjects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedHyperParameters
TrainingSpecification.Builder supportedHyperParameters(HyperParameterSpecification... supportedHyperParameters) A list of the
HyperParameterSpecificationobjects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>- Parameters:
supportedHyperParameters- A list of theHyperParameterSpecificationobjects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedHyperParameters
TrainingSpecification.Builder supportedHyperParameters(Consumer<HyperParameterSpecification.Builder>... supportedHyperParameters) A list of the
This is a convenience method that creates an instance of theHyperParameterSpecificationobjects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>HyperParameterSpecification.Builderavoiding the need to create one manually viaHyperParameterSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportedHyperParameters(List<HyperParameterSpecification>).- Parameters:
supportedHyperParameters- a consumer that will call methods onHyperParameterSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportedTrainingInstanceTypesWithStrings
TrainingSpecification.Builder supportedTrainingInstanceTypesWithStrings(Collection<String> supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.
- Parameters:
supportedTrainingInstanceTypes- A list of the instance types that this algorithm can use for training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTrainingInstanceTypesWithStrings
TrainingSpecification.Builder supportedTrainingInstanceTypesWithStrings(String... supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.
- Parameters:
supportedTrainingInstanceTypes- A list of the instance types that this algorithm can use for training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTrainingInstanceTypes
TrainingSpecification.Builder supportedTrainingInstanceTypes(Collection<TrainingInstanceType> supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.
- Parameters:
supportedTrainingInstanceTypes- A list of the instance types that this algorithm can use for training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTrainingInstanceTypes
TrainingSpecification.Builder supportedTrainingInstanceTypes(TrainingInstanceType... supportedTrainingInstanceTypes) A list of the instance types that this algorithm can use for training.
- Parameters:
supportedTrainingInstanceTypes- A list of the instance types that this algorithm can use for training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportsDistributedTraining
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
- Parameters:
supportsDistributedTraining- Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitions
A list of
MetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.- Parameters:
metricDefinitions- A list ofMetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitions
A list of
MetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.- Parameters:
metricDefinitions- A list ofMetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitions
TrainingSpecification.Builder metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions) A list of
This is a convenience method that creates an instance of theMetricDefinitionobjects, which are used for parsing metrics generated by the algorithm.MetricDefinition.Builderavoiding the need to create one manually viaMetricDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDefinitions(List<MetricDefinition>).- Parameters:
metricDefinitions- a consumer that will call methods onMetricDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingChannels
A list of
ChannelSpecificationobjects, which specify the input sources to be used by the algorithm.- Parameters:
trainingChannels- A list ofChannelSpecificationobjects, which specify the input sources to be used by the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingChannels
A list of
ChannelSpecificationobjects, which specify the input sources to be used by the algorithm.- Parameters:
trainingChannels- A list ofChannelSpecificationobjects, which specify the input sources to be used by the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingChannels
TrainingSpecification.Builder trainingChannels(Consumer<ChannelSpecification.Builder>... trainingChannels) A list of
This is a convenience method that creates an instance of theChannelSpecificationobjects, which specify the input sources to be used by the algorithm.ChannelSpecification.Builderavoiding the need to create one manually viaChannelSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrainingChannels(List<ChannelSpecification>).- Parameters:
trainingChannels- a consumer that will call methods onChannelSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportedTuningJobObjectiveMetrics
TrainingSpecification.Builder supportedTuningJobObjectiveMetrics(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.
- Parameters:
supportedTuningJobObjectiveMetrics- A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTuningJobObjectiveMetrics
TrainingSpecification.Builder supportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics) A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
- Parameters:
supportedTuningJobObjectiveMetrics- A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedTuningJobObjectiveMetrics
TrainingSpecification.Builder supportedTuningJobObjectiveMetrics(Consumer<HyperParameterTuningJobObjective.Builder>... supportedTuningJobObjectiveMetrics) A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
This is a convenience method that creates an instance of theHyperParameterTuningJobObjective.Builderavoiding the need to create one manually viaHyperParameterTuningJobObjective.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosupportedTuningJobObjectiveMetrics(List<HyperParameterTuningJobObjective>).- Parameters:
supportedTuningJobObjectiveMetrics- a consumer that will call methods onHyperParameterTuningJobObjective.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalS3DataSource
The additional data source used during the training job.
- Parameters:
additionalS3DataSource- The additional data source used during the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalS3DataSource
default TrainingSpecification.Builder additionalS3DataSource(Consumer<AdditionalS3DataSource.Builder> additionalS3DataSource) The additional data source used during the training job.
This is a convenience method that creates an instance of theAdditionalS3DataSource.Builderavoiding the need to create one manually viaAdditionalS3DataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalS3DataSource(AdditionalS3DataSource).- Parameters:
additionalS3DataSource- a consumer that will call methods onAdditionalS3DataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-