@Stability(value=Stable) public static final class AlgorithmSpecification.Builder extends Object implements software.amazon.jsii.Builder<AlgorithmSpecification>
AlgorithmSpecification| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmSpecification.Builder |
algorithmName(String algorithmName)
Sets the value of
AlgorithmSpecification.getAlgorithmName() |
AlgorithmSpecification |
build()
Builds the configured instance.
|
AlgorithmSpecification.Builder |
metricDefinitions(List<? extends MetricDefinition> metricDefinitions)
Sets the value of
AlgorithmSpecification.getMetricDefinitions() |
AlgorithmSpecification.Builder |
trainingImage(DockerImage trainingImage)
Sets the value of
AlgorithmSpecification.getTrainingImage() |
AlgorithmSpecification.Builder |
trainingInputMode(InputMode trainingInputMode)
Sets the value of
AlgorithmSpecification.getTrainingInputMode() |
@Stability(value=Stable) public AlgorithmSpecification.Builder algorithmName(String algorithmName)
AlgorithmSpecification.getAlgorithmName()algorithmName - Name of the algorithm resource to use for the training job.
This must be an algorithm resource that you created or subscribe to on AWS Marketplace.
If you specify a value for this parameter, you can't specify a value for TrainingImage.this@Stability(value=Stable) public AlgorithmSpecification.Builder metricDefinitions(List<? extends MetricDefinition> metricDefinitions)
AlgorithmSpecification.getMetricDefinitions()metricDefinitions - List of metric definition objects.
Each object specifies the metric name and regular expressions used to parse algorithm logs.this@Stability(value=Stable) public AlgorithmSpecification.Builder trainingImage(DockerImage trainingImage)
AlgorithmSpecification.getTrainingImage()trainingImage - Registry path of the Docker image that contains the training algorithm.this@Stability(value=Stable) public AlgorithmSpecification.Builder trainingInputMode(InputMode trainingInputMode)
AlgorithmSpecification.getTrainingInputMode()trainingInputMode - Input mode that the algorithm supports.this@Stability(value=Stable) public AlgorithmSpecification build()
build in interface software.amazon.jsii.Builder<AlgorithmSpecification>AlgorithmSpecificationNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.