Class CfnDataQualityJobDefinitionProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinitionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataQualityJobDefinitionProps>
- Enclosing interface:
CfnDataQualityJobDefinitionProps
@Stability(Stable)
public static final class CfnDataQualityJobDefinitionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataQualityJobDefinitionProps>
A builder for
CfnDataQualityJobDefinitionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataQualityAppSpecification
(IResolvable dataQualityAppSpecification) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityAppSpecification()
dataQualityAppSpecification
(CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty dataQualityAppSpecification) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityAppSpecification()
dataQualityBaselineConfig
(IResolvable dataQualityBaselineConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityBaselineConfig()
dataQualityBaselineConfig
(CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty dataQualityBaselineConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityBaselineConfig()
dataQualityJobInput
(IResolvable dataQualityJobInput) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobInput()
dataQualityJobInput
(CfnDataQualityJobDefinition.DataQualityJobInputProperty dataQualityJobInput) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobInput()
dataQualityJobOutputConfig
(IResolvable dataQualityJobOutputConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobOutputConfig()
dataQualityJobOutputConfig
(CfnDataQualityJobDefinition.MonitoringOutputConfigProperty dataQualityJobOutputConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobOutputConfig()
endpointName
(String endpointName) Sets the value ofCfnDataQualityJobDefinitionProps.getEndpointName()
jobDefinitionName
(String jobDefinitionName) Sets the value ofCfnDataQualityJobDefinitionProps.getJobDefinitionName()
jobResources
(IResolvable jobResources) Sets the value ofCfnDataQualityJobDefinitionProps.getJobResources()
Sets the value ofCfnDataQualityJobDefinitionProps.getJobResources()
networkConfig
(IResolvable networkConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getNetworkConfig()
networkConfig
(CfnDataQualityJobDefinition.NetworkConfigProperty networkConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getNetworkConfig()
Sets the value ofCfnDataQualityJobDefinitionProps.getRoleArn()
stoppingCondition
(IResolvable stoppingCondition) Sets the value ofCfnDataQualityJobDefinitionProps.getStoppingCondition()
stoppingCondition
(CfnDataQualityJobDefinition.StoppingConditionProperty stoppingCondition) Sets the value ofCfnDataQualityJobDefinitionProps.getStoppingCondition()
Sets the value ofCfnDataQualityJobDefinitionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataQualityAppSpecification
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityAppSpecification(IResolvable dataQualityAppSpecification) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityAppSpecification()
- Parameters:
dataQualityAppSpecification
- Specifies the container that runs the monitoring job. This parameter is required.- Returns:
this
-
dataQualityAppSpecification
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityAppSpecification(CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty dataQualityAppSpecification) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityAppSpecification()
- Parameters:
dataQualityAppSpecification
- Specifies the container that runs the monitoring job. This parameter is required.- Returns:
this
-
dataQualityJobInput
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityJobInput(IResolvable dataQualityJobInput) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobInput()
- Parameters:
dataQualityJobInput
- A list of inputs for the monitoring job. This parameter is required. Currently endpoints are supported as monitoring inputs.- Returns:
this
-
dataQualityJobInput
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityJobInput(CfnDataQualityJobDefinition.DataQualityJobInputProperty dataQualityJobInput) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobInput()
- Parameters:
dataQualityJobInput
- A list of inputs for the monitoring job. This parameter is required. Currently endpoints are supported as monitoring inputs.- Returns:
this
-
dataQualityJobOutputConfig
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityJobOutputConfig(IResolvable dataQualityJobOutputConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobOutputConfig()
- Parameters:
dataQualityJobOutputConfig
- The output configuration for monitoring jobs. This parameter is required.- Returns:
this
-
dataQualityJobOutputConfig
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityJobOutputConfig(CfnDataQualityJobDefinition.MonitoringOutputConfigProperty dataQualityJobOutputConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityJobOutputConfig()
- Parameters:
dataQualityJobOutputConfig
- The output configuration for monitoring jobs. This parameter is required.- Returns:
this
-
jobResources
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder jobResources(IResolvable jobResources) Sets the value ofCfnDataQualityJobDefinitionProps.getJobResources()
- Parameters:
jobResources
- Identifies the resources to deploy for a monitoring job. This parameter is required.- Returns:
this
-
jobResources
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder jobResources(CfnDataQualityJobDefinition.MonitoringResourcesProperty jobResources) Sets the value ofCfnDataQualityJobDefinitionProps.getJobResources()
- Parameters:
jobResources
- Identifies the resources to deploy for a monitoring job. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnDataQualityJobDefinitionProps.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
-
dataQualityBaselineConfig
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityBaselineConfig(IResolvable dataQualityBaselineConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityBaselineConfig()
- Parameters:
dataQualityBaselineConfig
- Configures the constraints and baselines for the monitoring job.- Returns:
this
-
dataQualityBaselineConfig
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder dataQualityBaselineConfig(CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty dataQualityBaselineConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getDataQualityBaselineConfig()
- Parameters:
dataQualityBaselineConfig
- Configures the constraints and baselines for the monitoring job.- Returns:
this
-
endpointName
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder endpointName(String endpointName) Sets the value ofCfnDataQualityJobDefinitionProps.getEndpointName()
- Parameters:
endpointName
- The name of the endpoint used to run the monitoring job.- Returns:
this
-
jobDefinitionName
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder jobDefinitionName(String jobDefinitionName) Sets the value ofCfnDataQualityJobDefinitionProps.getJobDefinitionName()
- Parameters:
jobDefinitionName
- The name for the monitoring job definition.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder networkConfig(IResolvable networkConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getNetworkConfig()
- Parameters:
networkConfig
- Specifies networking configuration for the monitoring job.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder networkConfig(CfnDataQualityJobDefinition.NetworkConfigProperty networkConfig) Sets the value ofCfnDataQualityJobDefinitionProps.getNetworkConfig()
- Parameters:
networkConfig
- Specifies networking configuration for the monitoring job.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder stoppingCondition(IResolvable stoppingCondition) Sets the value ofCfnDataQualityJobDefinitionProps.getStoppingCondition()
- Parameters:
stoppingCondition
- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder stoppingCondition(CfnDataQualityJobDefinition.StoppingConditionProperty stoppingCondition) Sets the value ofCfnDataQualityJobDefinitionProps.getStoppingCondition()
- Parameters:
stoppingCondition
- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
tags
@Stability(Stable) public CfnDataQualityJobDefinitionProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDataQualityJobDefinitionProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataQualityJobDefinitionProps>
- Returns:
- a new instance of
CfnDataQualityJobDefinitionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-