Class CfnModelQualityJobDefinitionProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinitionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelQualityJobDefinitionProps>
- Enclosing interface:
CfnModelQualityJobDefinitionProps
@Stability(Stable)
public static final class CfnModelQualityJobDefinitionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelQualityJobDefinitionProps>
A builder for
CfnModelQualityJobDefinitionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.endpointName
(String endpointName) Sets the value ofCfnModelQualityJobDefinitionProps.getEndpointName()
jobDefinitionName
(String jobDefinitionName) Sets the value ofCfnModelQualityJobDefinitionProps.getJobDefinitionName()
jobResources
(IResolvable jobResources) Sets the value ofCfnModelQualityJobDefinitionProps.getJobResources()
Sets the value ofCfnModelQualityJobDefinitionProps.getJobResources()
modelQualityAppSpecification
(IResolvable modelQualityAppSpecification) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityAppSpecification()
modelQualityAppSpecification
(CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty modelQualityAppSpecification) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityAppSpecification()
modelQualityBaselineConfig
(IResolvable modelQualityBaselineConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityBaselineConfig()
modelQualityBaselineConfig
(CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty modelQualityBaselineConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityBaselineConfig()
modelQualityJobInput
(IResolvable modelQualityJobInput) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobInput()
modelQualityJobInput
(CfnModelQualityJobDefinition.ModelQualityJobInputProperty modelQualityJobInput) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobInput()
modelQualityJobOutputConfig
(IResolvable modelQualityJobOutputConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobOutputConfig()
modelQualityJobOutputConfig
(CfnModelQualityJobDefinition.MonitoringOutputConfigProperty modelQualityJobOutputConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobOutputConfig()
networkConfig
(IResolvable networkConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getNetworkConfig()
networkConfig
(CfnModelQualityJobDefinition.NetworkConfigProperty networkConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getNetworkConfig()
Sets the value ofCfnModelQualityJobDefinitionProps.getRoleArn()
stoppingCondition
(IResolvable stoppingCondition) Sets the value ofCfnModelQualityJobDefinitionProps.getStoppingCondition()
stoppingCondition
(CfnModelQualityJobDefinition.StoppingConditionProperty stoppingCondition) Sets the value ofCfnModelQualityJobDefinitionProps.getStoppingCondition()
Sets the value ofCfnModelQualityJobDefinitionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jobResources
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder jobResources(IResolvable jobResources) Sets the value ofCfnModelQualityJobDefinitionProps.getJobResources()
- Parameters:
jobResources
- Identifies the resources to deploy for a monitoring job. This parameter is required.- Returns:
this
-
jobResources
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder jobResources(CfnModelQualityJobDefinition.MonitoringResourcesProperty jobResources) Sets the value ofCfnModelQualityJobDefinitionProps.getJobResources()
- Parameters:
jobResources
- Identifies the resources to deploy for a monitoring job. This parameter is required.- Returns:
this
-
modelQualityAppSpecification
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityAppSpecification(IResolvable modelQualityAppSpecification) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityAppSpecification()
- Parameters:
modelQualityAppSpecification
- Container image configuration object for the monitoring job. This parameter is required.- Returns:
this
-
modelQualityAppSpecification
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityAppSpecification(CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty modelQualityAppSpecification) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityAppSpecification()
- Parameters:
modelQualityAppSpecification
- Container image configuration object for the monitoring job. This parameter is required.- Returns:
this
-
modelQualityJobInput
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityJobInput(IResolvable modelQualityJobInput) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobInput()
- Parameters:
modelQualityJobInput
- A list of the inputs that are monitored. This parameter is required. Currently endpoints are supported.- Returns:
this
-
modelQualityJobInput
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityJobInput(CfnModelQualityJobDefinition.ModelQualityJobInputProperty modelQualityJobInput) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobInput()
- Parameters:
modelQualityJobInput
- A list of the inputs that are monitored. This parameter is required. Currently endpoints are supported.- Returns:
this
-
modelQualityJobOutputConfig
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityJobOutputConfig(IResolvable modelQualityJobOutputConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobOutputConfig()
- Parameters:
modelQualityJobOutputConfig
- The output configuration for monitoring jobs. This parameter is required.- Returns:
this
-
modelQualityJobOutputConfig
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityJobOutputConfig(CfnModelQualityJobDefinition.MonitoringOutputConfigProperty modelQualityJobOutputConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityJobOutputConfig()
- Parameters:
modelQualityJobOutputConfig
- The output configuration for monitoring jobs. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnModelQualityJobDefinitionProps.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
-
endpointName
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder endpointName(String endpointName) Sets the value ofCfnModelQualityJobDefinitionProps.getEndpointName()
- Parameters:
endpointName
-AWS::SageMaker::ModelQualityJobDefinition.EndpointName
.- Returns:
this
-
jobDefinitionName
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder jobDefinitionName(String jobDefinitionName) Sets the value ofCfnModelQualityJobDefinitionProps.getJobDefinitionName()
- Parameters:
jobDefinitionName
- The name of the monitoring job definition.- Returns:
this
-
modelQualityBaselineConfig
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityBaselineConfig(IResolvable modelQualityBaselineConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityBaselineConfig()
- Parameters:
modelQualityBaselineConfig
- Specifies the constraints and baselines for the monitoring job.- Returns:
this
-
modelQualityBaselineConfig
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder modelQualityBaselineConfig(CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty modelQualityBaselineConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getModelQualityBaselineConfig()
- Parameters:
modelQualityBaselineConfig
- Specifies the constraints and baselines for the monitoring job.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder networkConfig(IResolvable networkConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getNetworkConfig()
- Parameters:
networkConfig
- Specifies the network configuration for the monitoring job.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder networkConfig(CfnModelQualityJobDefinition.NetworkConfigProperty networkConfig) Sets the value ofCfnModelQualityJobDefinitionProps.getNetworkConfig()
- Parameters:
networkConfig
- Specifies the network configuration for the monitoring job.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder stoppingCondition(IResolvable stoppingCondition) Sets the value ofCfnModelQualityJobDefinitionProps.getStoppingCondition()
- Parameters:
stoppingCondition
- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder stoppingCondition(CfnModelQualityJobDefinition.StoppingConditionProperty stoppingCondition) Sets the value ofCfnModelQualityJobDefinitionProps.getStoppingCondition()
- Parameters:
stoppingCondition
- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
tags
@Stability(Stable) public CfnModelQualityJobDefinitionProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnModelQualityJobDefinitionProps.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<CfnModelQualityJobDefinitionProps>
- Returns:
- a new instance of
CfnModelQualityJobDefinitionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-