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