Class CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty>
- Enclosing interface:
CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty
@Stability(Stable)
public static final class CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty.Builder name(String name) Sets the value ofCfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty.getName()- Parameters:
name- the value to be set.- Returns:
this
-
regex
@Stability(Stable) public CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty.Builder regex(String regex) - Parameters:
regex- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty>- Returns:
- a new instance of
CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-