Class CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringSchedule.MonitoringJobDefinitionProperty>
- Enclosing interface:
- CfnMonitoringSchedule.MonitoringJobDefinitionProperty
@Stability(Stable)
public static final class CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringSchedule.MonitoringJobDefinitionProperty>
A builder for
CfnMonitoringSchedule.MonitoringJobDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaselineConfig(IResolvable baselineConfig) baselineConfig(CfnMonitoringSchedule.BaselineConfigProperty baselineConfig) build()Builds the configured instance.environment(Map<String, String> environment) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getEnvironment()environment(IResolvable environment) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getEnvironment()monitoringAppSpecification(IResolvable monitoringAppSpecification) monitoringAppSpecification(CfnMonitoringSchedule.MonitoringAppSpecificationProperty monitoringAppSpecification) monitoringInputs(List<? extends Object> monitoringInputs) monitoringInputs(IResolvable monitoringInputs) monitoringOutputConfig(IResolvable monitoringOutputConfig) monitoringOutputConfig(CfnMonitoringSchedule.MonitoringOutputConfigProperty monitoringOutputConfig) monitoringResources(IResolvable monitoringResources) monitoringResources(CfnMonitoringSchedule.MonitoringResourcesProperty monitoringResources) networkConfig(IResolvable networkConfig) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getNetworkConfig()networkConfig(CfnMonitoringSchedule.NetworkConfigProperty networkConfig) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getNetworkConfig()Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getRoleArn()stoppingCondition(IResolvable stoppingCondition) stoppingCondition(CfnMonitoringSchedule.StoppingConditionProperty stoppingCondition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
monitoringAppSpecification
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringAppSpecification(IResolvable monitoringAppSpecification) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getMonitoringAppSpecification()- Parameters:
monitoringAppSpecification- Configures the monitoring job to run a specified Docker container image. This parameter is required.- Returns:
this
-
monitoringAppSpecification
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringAppSpecification(CfnMonitoringSchedule.MonitoringAppSpecificationProperty monitoringAppSpecification) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getMonitoringAppSpecification()- Parameters:
monitoringAppSpecification- Configures the monitoring job to run a specified Docker container image. This parameter is required.- Returns:
this
-
monitoringInputs
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringInputs(IResolvable monitoringInputs) - Parameters:
monitoringInputs- The array of inputs for the monitoring job. This parameter is required. Currently we support monitoring an Amazon SageMaker Endpoint.- Returns:
this
-
monitoringInputs
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringInputs(List<? extends Object> monitoringInputs) - Parameters:
monitoringInputs- The array of inputs for the monitoring job. This parameter is required. Currently we support monitoring an Amazon SageMaker Endpoint.- Returns:
this
-
monitoringOutputConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringOutputConfig(IResolvable monitoringOutputConfig) - Parameters:
monitoringOutputConfig- The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage Service (Amazon S3). This parameter is required.- Returns:
this
-
monitoringOutputConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringOutputConfig(CfnMonitoringSchedule.MonitoringOutputConfigProperty monitoringOutputConfig) - Parameters:
monitoringOutputConfig- The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage Service (Amazon S3). This parameter is required.- Returns:
this
-
monitoringResources
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringResources(IResolvable monitoringResources) - Parameters:
monitoringResources- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. This parameter is required. In distributed processing, you specify more than one instance.- Returns:
this
-
monitoringResources
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringResources(CfnMonitoringSchedule.MonitoringResourcesProperty monitoringResources) - Parameters:
monitoringResources- Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. This parameter is required. In distributed processing, you specify more than one instance.- Returns:
this
-
roleArn
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder roleArn(String roleArn) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. This parameter is required.- Returns:
this
-
baselineConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder baselineConfig(IResolvable baselineConfig) - Parameters:
baselineConfig- Baseline configuration used to validate that the data conforms to the specified constraints and statistics.- Returns:
this
-
baselineConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder baselineConfig(CfnMonitoringSchedule.BaselineConfigProperty baselineConfig) - Parameters:
baselineConfig- Baseline configuration used to validate that the data conforms to the specified constraints and statistics.- Returns:
this
-
environment
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder environment(IResolvable environment) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getEnvironment()- Parameters:
environment- Sets the environment variables in the Docker container.- Returns:
this
-
environment
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder environment(Map<String, String> environment) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getEnvironment()- Parameters:
environment- Sets the environment variables in the Docker container.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder networkConfig(IResolvable networkConfig) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getNetworkConfig()- Parameters:
networkConfig- Specifies networking options for an monitoring job.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder networkConfig(CfnMonitoringSchedule.NetworkConfigProperty networkConfig) Sets the value ofCfnMonitoringSchedule.MonitoringJobDefinitionProperty.getNetworkConfig()- Parameters:
networkConfig- Specifies networking options for an monitoring job.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder stoppingCondition(IResolvable stoppingCondition) - Parameters:
stoppingCondition- Specifies a time limit for how long the monitoring job is allowed to run.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder stoppingCondition(CfnMonitoringSchedule.StoppingConditionProperty stoppingCondition) - Parameters:
stoppingCondition- Specifies a time limit for how long the monitoring job is allowed to run.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedule.MonitoringJobDefinitionProperty>- Returns:
- a new instance of
CfnMonitoringSchedule.MonitoringJobDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-