Class CfnModelCard.TrainingMetricProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCard.TrainingMetricProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCard.TrainingMetricProperty>
- Enclosing interface:
CfnModelCard.TrainingMetricProperty
@Stability(Stable)
public static final class CfnModelCard.TrainingMetricProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCard.TrainingMetricProperty>
A builder for
CfnModelCard.TrainingMetricProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnModelCard.TrainingMetricProperty.getName()
Sets the value ofCfnModelCard.TrainingMetricProperty.getNotes()
Sets the value ofCfnModelCard.TrainingMetricProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnModelCard.TrainingMetricProperty.getName()
- Parameters:
name
- The name of the result from the SageMaker training job. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnModelCard.TrainingMetricProperty.getValue()
- Parameters:
value
- The value of a result from the SageMaker training job. This parameter is required.- Returns:
this
-
notes
Sets the value ofCfnModelCard.TrainingMetricProperty.getNotes()
- Parameters:
notes
- Any additional notes describing the result of the training job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelCard.TrainingMetricProperty>
- Returns:
- a new instance of
CfnModelCard.TrainingMetricProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-