Class CfnRecommenderPropsMixin.TrainingMetricsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnRecommenderPropsMixin.TrainingMetricsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecommenderPropsMixin.TrainingMetricsProperty>
- Enclosing interface:
CfnRecommenderPropsMixin.TrainingMetricsProperty
@Stability(Stable)
public static final class CfnRecommenderPropsMixin.TrainingMetricsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecommenderPropsMixin.TrainingMetricsProperty>
A builder for
CfnRecommenderPropsMixin.TrainingMetricsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRecommenderPropsMixin.TrainingMetricsProperty.getMetrics()metrics(IResolvable metrics) Sets the value ofCfnRecommenderPropsMixin.TrainingMetricsProperty.getMetrics()Sets the value ofCfnRecommenderPropsMixin.TrainingMetricsProperty.getTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metrics
@Stability(Stable) public CfnRecommenderPropsMixin.TrainingMetricsProperty.Builder metrics(IResolvable metrics) Sets the value ofCfnRecommenderPropsMixin.TrainingMetricsProperty.getMetrics()- Parameters:
metrics- Training metrics by type.- Returns:
this
-
metrics
@Stability(Stable) public CfnRecommenderPropsMixin.TrainingMetricsProperty.Builder metrics(CfnRecommenderPropsMixin.MetricsProperty metrics) Sets the value ofCfnRecommenderPropsMixin.TrainingMetricsProperty.getMetrics()- Parameters:
metrics- Training metrics by type.- Returns:
this
-
time
@Stability(Stable) public CfnRecommenderPropsMixin.TrainingMetricsProperty.Builder time(String time) Sets the value ofCfnRecommenderPropsMixin.TrainingMetricsProperty.getTime()- Parameters:
time- Timestamp of the training metrics.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRecommenderPropsMixin.TrainingMetricsProperty>- Returns:
- a new instance of
CfnRecommenderPropsMixin.TrainingMetricsProperty - Throws:
NullPointerException- if any required attribute was not provided
-