@Stability(value=Experimental) public static final class AlgorithmSpecification.Builder extends Object
AlgorithmSpecification| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmSpecification |
build()
Builds the configured instance.
|
AlgorithmSpecification.Builder |
withAlgorithmName(String value)
Sets the value of AlgorithmName
|
AlgorithmSpecification.Builder |
withMetricDefinitions(List<MetricDefinition> value)
Sets the value of MetricDefinitions
|
AlgorithmSpecification.Builder |
withTrainingImage(DockerImage value)
Sets the value of TrainingImage
|
AlgorithmSpecification.Builder |
withTrainingInputMode(InputMode value)
Sets the value of TrainingInputMode
|
@Stability(value=Experimental) public AlgorithmSpecification.Builder withAlgorithmName(@Nullable String value)
value - Name of the algorithm resource to use for the training job.this@Stability(value=Experimental) public AlgorithmSpecification.Builder withMetricDefinitions(@Nullable List<MetricDefinition> value)
value - List of metric definition objects.this@Stability(value=Experimental) public AlgorithmSpecification.Builder withTrainingImage(@Nullable DockerImage value)
value - Registry path of the Docker image that contains the training algorithm.this@Stability(value=Experimental) public AlgorithmSpecification.Builder withTrainingInputMode(@Nullable InputMode value)
value - Input mode that the algorithm supports.this@Stability(value=Experimental) public AlgorithmSpecification build()
AlgorithmSpecificationNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.