Interface MonitoringJobDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringJobDefinition.Builder,
,MonitoringJobDefinition> SdkBuilder<MonitoringJobDefinition.Builder,
,MonitoringJobDefinition> SdkPojo
- Enclosing class:
MonitoringJobDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondefault MonitoringJobDefinition.Builder
baselineConfig
(Consumer<MonitoringBaselineConfig.Builder> baselineConfig) Baseline configuration used to validate that the data conforms to the specified constraints and statisticsbaselineConfig
(MonitoringBaselineConfig baselineConfig) Baseline configuration used to validate that the data conforms to the specified constraints and statisticsenvironment
(Map<String, String> environment) Sets the environment variables in the Docker container.default MonitoringJobDefinition.Builder
monitoringAppSpecification
(Consumer<MonitoringAppSpecification.Builder> monitoringAppSpecification) Configures the monitoring job to run a specified Docker container image.monitoringAppSpecification
(MonitoringAppSpecification monitoringAppSpecification) Configures the monitoring job to run a specified Docker container image.monitoringInputs
(Collection<MonitoringInput> monitoringInputs) The array of inputs for the monitoring job.monitoringInputs
(Consumer<MonitoringInput.Builder>... monitoringInputs) The array of inputs for the monitoring job.monitoringInputs
(MonitoringInput... monitoringInputs) The array of inputs for the monitoring job.default MonitoringJobDefinition.Builder
monitoringOutputConfig
(Consumer<MonitoringOutputConfig.Builder> monitoringOutputConfig) The array of outputs from the monitoring job to be uploaded to Amazon S3.monitoringOutputConfig
(MonitoringOutputConfig monitoringOutputConfig) The array of outputs from the monitoring job to be uploaded to Amazon S3.default MonitoringJobDefinition.Builder
monitoringResources
(Consumer<MonitoringResources.Builder> monitoringResources) Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.monitoringResources
(MonitoringResources monitoringResources) Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.default MonitoringJobDefinition.Builder
networkConfig
(Consumer<NetworkConfig.Builder> networkConfig) Specifies networking options for an monitoring job.networkConfig
(NetworkConfig networkConfig) Specifies networking options for an monitoring job.The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.default MonitoringJobDefinition.Builder
stoppingCondition
(Consumer<MonitoringStoppingCondition.Builder> stoppingCondition) Specifies a time limit for how long the monitoring job is allowed to run.stoppingCondition
(MonitoringStoppingCondition stoppingCondition) Specifies a time limit for how long the monitoring job is allowed to run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
baselineConfig
Baseline configuration used to validate that the data conforms to the specified constraints and statistics
- Parameters:
baselineConfig
- Baseline configuration used to validate that the data conforms to the specified constraints and statistics- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineConfig
default MonitoringJobDefinition.Builder baselineConfig(Consumer<MonitoringBaselineConfig.Builder> baselineConfig) Baseline configuration used to validate that the data conforms to the specified constraints and statistics
This is a convenience method that creates an instance of theMonitoringBaselineConfig.Builder
avoiding the need to create one manually viaMonitoringBaselineConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaselineConfig(MonitoringBaselineConfig)
.- Parameters:
baselineConfig
- a consumer that will call methods onMonitoringBaselineConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoringInputs
The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
- Parameters:
monitoringInputs
- The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringInputs
The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
- Parameters:
monitoringInputs
- The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringInputs
MonitoringJobDefinition.Builder monitoringInputs(Consumer<MonitoringInput.Builder>... monitoringInputs) The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
This is a convenience method that creates an instance of theMonitoringInput.Builder
avoiding the need to create one manually viaMonitoringInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringInputs(List<MonitoringInput>)
.- Parameters:
monitoringInputs
- a consumer that will call methods onMonitoringInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoringOutputConfig
MonitoringJobDefinition.Builder monitoringOutputConfig(MonitoringOutputConfig monitoringOutputConfig) The array of outputs from the monitoring job to be uploaded to Amazon S3.
- Parameters:
monitoringOutputConfig
- The array of outputs from the monitoring job to be uploaded to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringOutputConfig
default MonitoringJobDefinition.Builder monitoringOutputConfig(Consumer<MonitoringOutputConfig.Builder> monitoringOutputConfig) The array of outputs from the monitoring job to be uploaded to Amazon S3.
This is a convenience method that creates an instance of theMonitoringOutputConfig.Builder
avoiding the need to create one manually viaMonitoringOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringOutputConfig(MonitoringOutputConfig)
.- Parameters:
monitoringOutputConfig
- a consumer that will call methods onMonitoringOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringResources
default MonitoringJobDefinition.Builder monitoringResources(Consumer<MonitoringResources.Builder> 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.
This is a convenience method that creates an instance of theMonitoringResources.Builder
avoiding the need to create one manually viaMonitoringResources.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringResources(MonitoringResources)
.- Parameters:
monitoringResources
- a consumer that will call methods onMonitoringResources.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoringAppSpecification
MonitoringJobDefinition.Builder monitoringAppSpecification(MonitoringAppSpecification monitoringAppSpecification) Configures the monitoring job to run a specified Docker container image.
- Parameters:
monitoringAppSpecification
- Configures the monitoring job to run a specified Docker container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringAppSpecification
default MonitoringJobDefinition.Builder monitoringAppSpecification(Consumer<MonitoringAppSpecification.Builder> monitoringAppSpecification) Configures the monitoring job to run a specified Docker container image.
This is a convenience method that creates an instance of theMonitoringAppSpecification.Builder
avoiding the need to create one manually viaMonitoringAppSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonitoringAppSpecification(MonitoringAppSpecification)
.- Parameters:
monitoringAppSpecification
- a consumer that will call methods onMonitoringAppSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stoppingCondition
Specifies a time limit for how long the monitoring job is allowed to run.
- Parameters:
stoppingCondition
- Specifies a time limit for how long the monitoring job is allowed to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
default MonitoringJobDefinition.Builder stoppingCondition(Consumer<MonitoringStoppingCondition.Builder> stoppingCondition) Specifies a time limit for how long the monitoring job is allowed to run.
This is a convenience method that creates an instance of theMonitoringStoppingCondition.Builder
avoiding the need to create one manually viaMonitoringStoppingCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostoppingCondition(MonitoringStoppingCondition)
.- Parameters:
stoppingCondition
- a consumer that will call methods onMonitoringStoppingCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
Sets the environment variables in the Docker container.
- Parameters:
environment
- Sets the environment variables in the Docker container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
Specifies networking options for an monitoring job.
- Parameters:
networkConfig
- Specifies networking options for an monitoring job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfig
default MonitoringJobDefinition.Builder networkConfig(Consumer<NetworkConfig.Builder> networkConfig) Specifies networking options for an monitoring job.
This is a convenience method that creates an instance of theNetworkConfig.Builder
avoiding the need to create one manually viaNetworkConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkConfig(NetworkConfig)
.- Parameters:
networkConfig
- a consumer that will call methods onNetworkConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-