public static final class CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder
extends java.lang.Object
CfnMonitoringSchedule.MonitoringJobDefinitionProperty
Constructor and Description |
---|
Builder() |
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringAppSpecification(IResolvable monitoringAppSpecification)
CfnMonitoringSchedule.MonitoringJobDefinitionProperty.getMonitoringAppSpecification()
monitoringAppSpecification
- Configures the monitoring job to run a specified Docker container image. This parameter is required.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringAppSpecification(CfnMonitoringSchedule.MonitoringAppSpecificationProperty monitoringAppSpecification)
CfnMonitoringSchedule.MonitoringJobDefinitionProperty.getMonitoringAppSpecification()
monitoringAppSpecification
- Configures the monitoring job to run a specified Docker container image. This parameter is required.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringInputs(IResolvable monitoringInputs)
monitoringInputs
- The array of inputs for the monitoring job. This parameter is required.
Currently we support monitoring an Amazon SageMaker Endpoint.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringInputs(java.util.List<? extends java.lang.Object> monitoringInputs)
monitoringInputs
- The array of inputs for the monitoring job. This parameter is required.
Currently we support monitoring an Amazon SageMaker Endpoint.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringOutputConfig(IResolvable monitoringOutputConfig)
monitoringOutputConfig
- The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage Service (Amazon S3). This parameter is required.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringOutputConfig(CfnMonitoringSchedule.MonitoringOutputConfigProperty monitoringOutputConfig)
monitoringOutputConfig
- The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage Service (Amazon S3). This parameter is required.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringResources(IResolvable monitoringResources)
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.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder monitoringResources(CfnMonitoringSchedule.MonitoringResourcesProperty monitoringResources)
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.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder roleArn(java.lang.String roleArn)
CfnMonitoringSchedule.MonitoringJobDefinitionProperty.getRoleArn()
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.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder baselineConfig(IResolvable baselineConfig)
baselineConfig
- Baseline configuration used to validate that the data conforms to the specified constraints and statistics.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder baselineConfig(CfnMonitoringSchedule.BaselineConfigProperty baselineConfig)
baselineConfig
- Baseline configuration used to validate that the data conforms to the specified constraints and statistics.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder environment(IResolvable environment)
CfnMonitoringSchedule.MonitoringJobDefinitionProperty.getEnvironment()
environment
- Sets the environment variables in the Docker container.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder environment(java.util.Map<java.lang.String,java.lang.String> environment)
CfnMonitoringSchedule.MonitoringJobDefinitionProperty.getEnvironment()
environment
- Sets the environment variables in the Docker container.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder networkConfig(IResolvable networkConfig)
CfnMonitoringSchedule.MonitoringJobDefinitionProperty.getNetworkConfig()
networkConfig
- Specifies networking options for an monitoring job.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder networkConfig(CfnMonitoringSchedule.NetworkConfigProperty networkConfig)
CfnMonitoringSchedule.MonitoringJobDefinitionProperty.getNetworkConfig()
networkConfig
- Specifies networking options for an monitoring job.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder stoppingCondition(IResolvable stoppingCondition)
stoppingCondition
- Specifies a time limit for how long the monitoring job is allowed to run.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty.Builder stoppingCondition(CfnMonitoringSchedule.StoppingConditionProperty stoppingCondition)
stoppingCondition
- Specifies a time limit for how long the monitoring job is allowed to run.this
public CfnMonitoringSchedule.MonitoringJobDefinitionProperty build()
CfnMonitoringSchedule.MonitoringJobDefinitionProperty
java.lang.NullPointerException
- if any required attribute was not provided