Class CfnMonitoringSchedule.BaselineConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule.BaselineConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringSchedule.BaselineConfigProperty>
- Enclosing interface:
CfnMonitoringSchedule.BaselineConfigProperty
@Stability(Stable)
public static final class CfnMonitoringSchedule.BaselineConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringSchedule.BaselineConfigProperty>
A builder for
CfnMonitoringSchedule.BaselineConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.constraintsResource
(IResolvable constraintsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getConstraintsResource()
constraintsResource
(CfnMonitoringSchedule.ConstraintsResourceProperty constraintsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getConstraintsResource()
statisticsResource
(IResolvable statisticsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getStatisticsResource()
statisticsResource
(CfnMonitoringSchedule.StatisticsResourceProperty statisticsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getStatisticsResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
constraintsResource
@Stability(Stable) public CfnMonitoringSchedule.BaselineConfigProperty.Builder constraintsResource(IResolvable constraintsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getConstraintsResource()
- Parameters:
constraintsResource
- The Amazon S3 URI for the constraints resource.- Returns:
this
-
constraintsResource
@Stability(Stable) public CfnMonitoringSchedule.BaselineConfigProperty.Builder constraintsResource(CfnMonitoringSchedule.ConstraintsResourceProperty constraintsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getConstraintsResource()
- Parameters:
constraintsResource
- The Amazon S3 URI for the constraints resource.- Returns:
this
-
statisticsResource
@Stability(Stable) public CfnMonitoringSchedule.BaselineConfigProperty.Builder statisticsResource(IResolvable statisticsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getStatisticsResource()
- Parameters:
statisticsResource
- The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.- Returns:
this
-
statisticsResource
@Stability(Stable) public CfnMonitoringSchedule.BaselineConfigProperty.Builder statisticsResource(CfnMonitoringSchedule.StatisticsResourceProperty statisticsResource) Sets the value ofCfnMonitoringSchedule.BaselineConfigProperty.getStatisticsResource()
- Parameters:
statisticsResource
- The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedule.BaselineConfigProperty>
- Returns:
- a new instance of
CfnMonitoringSchedule.BaselineConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-