Class SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification>
- Enclosing interface:
SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification
@Stability(Experimental)
public static final class SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metricDefinitions(List<? extends SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecificationItem> metricDefinitions) trainingImage(List<String> trainingImage) trainingInputMode(List<String> trainingInputMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metricDefinitions
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.Builder metricDefinitions(List<? extends SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecificationItem> metricDefinitions) Sets the value ofSageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.getMetricDefinitions()- Parameters:
metricDefinitions- MetricDefinitions property. Specify an array of string values to match this event if the actual value of MetricDefinitions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
trainingImage
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.Builder trainingImage(List<String> trainingImage) Sets the value ofSageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.getTrainingImage()- Parameters:
trainingImage- TrainingImage property. Specify an array of string values to match this event if the actual value of TrainingImage is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
trainingInputMode
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.Builder trainingInputMode(List<String> trainingInputMode) Sets the value ofSageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification.getTrainingInputMode()- Parameters:
trainingInputMode- TrainingInputMode property. Specify an array of string values to match this event if the actual value of TrainingInputMode is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification>- Returns:
- a new instance of
SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification - Throws:
NullPointerException- if any required attribute was not provided
-