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