Class CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty>
- Enclosing interface:
CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty
@Stability(Stable)
public static final class CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbaseliningJobName
(String baseliningJobName) build()
Builds the configured instance.constraintsResource
(IResolvable constraintsResource) constraintsResource
(CfnModelBiasJobDefinition.ConstraintsResourceProperty constraintsResource)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseliningJobName
@Stability(Stable) public CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.Builder baseliningJobName(String baseliningJobName) - Parameters:
baseliningJobName
- The name of the baseline model bias job.- Returns:
this
-
constraintsResource
@Stability(Stable) public CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.Builder constraintsResource(IResolvable constraintsResource) Sets the value ofCfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.getConstraintsResource()
- Parameters:
constraintsResource
- The constraints resource for a monitoring job.- Returns:
this
-
constraintsResource
@Stability(Stable) public CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.Builder constraintsResource(CfnModelBiasJobDefinition.ConstraintsResourceProperty constraintsResource) Sets the value ofCfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.getConstraintsResource()
- Parameters:
constraintsResource
- The constraints resource for a monitoring job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty>
- Returns:
- a new instance of
CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-