Class CfnModelBiasJobDefinitionProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinitionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelBiasJobDefinitionProps>
- Enclosing interface:
CfnModelBiasJobDefinitionProps
@Stability(Stable)
public static final class CfnModelBiasJobDefinitionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelBiasJobDefinitionProps>
A builder for
CfnModelBiasJobDefinitionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.endpointName
(String endpointName) Sets the value ofCfnModelBiasJobDefinitionProps.getEndpointName()
jobDefinitionName
(String jobDefinitionName) Sets the value ofCfnModelBiasJobDefinitionProps.getJobDefinitionName()
jobResources
(IResolvable jobResources) Sets the value ofCfnModelBiasJobDefinitionProps.getJobResources()
Sets the value ofCfnModelBiasJobDefinitionProps.getJobResources()
modelBiasAppSpecification
(IResolvable modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasAppSpecification()
modelBiasAppSpecification
(CfnModelBiasJobDefinition.ModelBiasAppSpecificationProperty modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasAppSpecification()
modelBiasBaselineConfig
(IResolvable modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasBaselineConfig()
modelBiasBaselineConfig
(CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasBaselineConfig()
modelBiasJobInput
(IResolvable modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobInput()
modelBiasJobInput
(CfnModelBiasJobDefinition.ModelBiasJobInputProperty modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobInput()
modelBiasJobOutputConfig
(IResolvable modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobOutputConfig()
modelBiasJobOutputConfig
(CfnModelBiasJobDefinition.MonitoringOutputConfigProperty modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobOutputConfig()
networkConfig
(IResolvable networkConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getNetworkConfig()
networkConfig
(CfnModelBiasJobDefinition.NetworkConfigProperty networkConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getNetworkConfig()
Sets the value ofCfnModelBiasJobDefinitionProps.getRoleArn()
stoppingCondition
(IResolvable stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionProps.getStoppingCondition()
stoppingCondition
(CfnModelBiasJobDefinition.StoppingConditionProperty stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionProps.getStoppingCondition()
Sets the value ofCfnModelBiasJobDefinitionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jobResources
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder jobResources(IResolvable jobResources) Sets the value ofCfnModelBiasJobDefinitionProps.getJobResources()
- Parameters:
jobResources
- Identifies the resources to deploy for a monitoring job. This parameter is required.- Returns:
this
-
jobResources
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder jobResources(CfnModelBiasJobDefinition.MonitoringResourcesProperty jobResources) Sets the value ofCfnModelBiasJobDefinitionProps.getJobResources()
- Parameters:
jobResources
- Identifies the resources to deploy for a monitoring job. This parameter is required.- Returns:
this
-
modelBiasAppSpecification
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasAppSpecification(IResolvable modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasAppSpecification()
- Parameters:
modelBiasAppSpecification
- Configures the model bias job to run a specified Docker container image. This parameter is required.- Returns:
this
-
modelBiasAppSpecification
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasAppSpecification(CfnModelBiasJobDefinition.ModelBiasAppSpecificationProperty modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasAppSpecification()
- Parameters:
modelBiasAppSpecification
- Configures the model bias job to run a specified Docker container image. This parameter is required.- Returns:
this
-
modelBiasJobInput
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasJobInput(IResolvable modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobInput()
- Parameters:
modelBiasJobInput
- Inputs for the model bias job. This parameter is required.- Returns:
this
-
modelBiasJobInput
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasJobInput(CfnModelBiasJobDefinition.ModelBiasJobInputProperty modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobInput()
- Parameters:
modelBiasJobInput
- Inputs for the model bias job. This parameter is required.- Returns:
this
-
modelBiasJobOutputConfig
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasJobOutputConfig(IResolvable modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobOutputConfig()
- Parameters:
modelBiasJobOutputConfig
- The output configuration for monitoring jobs. This parameter is required.- Returns:
this
-
modelBiasJobOutputConfig
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasJobOutputConfig(CfnModelBiasJobDefinition.MonitoringOutputConfigProperty modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasJobOutputConfig()
- Parameters:
modelBiasJobOutputConfig
- The output configuration for monitoring jobs. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnModelBiasJobDefinitionProps.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
Sets the value ofCfnModelBiasJobDefinitionProps.getEndpointName()
- Parameters:
endpointName
- The name of the endpoint used to run the monitoring job.- Returns:
this
-
jobDefinitionName
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder jobDefinitionName(String jobDefinitionName) Sets the value ofCfnModelBiasJobDefinitionProps.getJobDefinitionName()
- Parameters:
jobDefinitionName
- The name of the bias job definition. The name must be unique within an AWS Region in the AWS account.- Returns:
this
-
modelBiasBaselineConfig
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasBaselineConfig(IResolvable modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasBaselineConfig()
- Parameters:
modelBiasBaselineConfig
- The baseline configuration for a model bias job.- Returns:
this
-
modelBiasBaselineConfig
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder modelBiasBaselineConfig(CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getModelBiasBaselineConfig()
- Parameters:
modelBiasBaselineConfig
- The baseline configuration for a model bias job.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder networkConfig(IResolvable networkConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getNetworkConfig()
- Parameters:
networkConfig
- Networking options for a model bias job.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder networkConfig(CfnModelBiasJobDefinition.NetworkConfigProperty networkConfig) Sets the value ofCfnModelBiasJobDefinitionProps.getNetworkConfig()
- Parameters:
networkConfig
- Networking options for a model bias job.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder stoppingCondition(IResolvable stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionProps.getStoppingCondition()
- Parameters:
stoppingCondition
- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnModelBiasJobDefinitionProps.Builder stoppingCondition(CfnModelBiasJobDefinition.StoppingConditionProperty stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionProps.getStoppingCondition()
- Parameters:
stoppingCondition
- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
tags
Sets the value ofCfnModelBiasJobDefinitionProps.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<CfnModelBiasJobDefinitionProps>
- Returns:
- a new instance of
CfnModelBiasJobDefinitionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-