Class CfnModelBiasJobDefinitionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelBiasJobDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelBiasJobDefinitionMixinProps>
- Enclosing interface:
CfnModelBiasJobDefinitionMixinProps
@Stability(Stable)
public static final class CfnModelBiasJobDefinitionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelBiasJobDefinitionMixinProps>
A builder for
CfnModelBiasJobDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointName(String endpointName) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getEndpointName()jobDefinitionName(String jobDefinitionName) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getJobDefinitionName()Sets the value ofCfnModelBiasJobDefinitionMixinProps.getJobResources()jobResources(IResolvable jobResources) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getJobResources()modelBiasAppSpecification(CfnModelBiasJobDefinitionPropsMixin.ModelBiasAppSpecificationProperty modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasAppSpecification()modelBiasAppSpecification(IResolvable modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasAppSpecification()modelBiasBaselineConfig(CfnModelBiasJobDefinitionPropsMixin.ModelBiasBaselineConfigProperty modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasBaselineConfig()modelBiasBaselineConfig(IResolvable modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasBaselineConfig()modelBiasJobInput(CfnModelBiasJobDefinitionPropsMixin.ModelBiasJobInputProperty modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobInput()modelBiasJobInput(IResolvable modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobInput()modelBiasJobOutputConfig(CfnModelBiasJobDefinitionPropsMixin.MonitoringOutputConfigProperty modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobOutputConfig()modelBiasJobOutputConfig(IResolvable modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobOutputConfig()Sets the value ofCfnModelBiasJobDefinitionMixinProps.getNetworkConfig()networkConfig(IResolvable networkConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getNetworkConfig()Sets the value ofCfnModelBiasJobDefinitionMixinProps.getRoleArn()Sets the value ofCfnModelBiasJobDefinitionMixinProps.getRoleArn()stoppingCondition(CfnModelBiasJobDefinitionPropsMixin.StoppingConditionProperty stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getStoppingCondition()stoppingCondition(IResolvable stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getStoppingCondition()Sets the value ofCfnModelBiasJobDefinitionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointName
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder endpointName(String endpointName) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getEndpointName()- Parameters:
endpointName- The name of the endpoint used to run the monitoring job.- Returns:
this
-
jobDefinitionName
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder jobDefinitionName(String jobDefinitionName) Sets the value ofCfnModelBiasJobDefinitionMixinProps.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
-
jobResources
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder jobResources(IResolvable jobResources) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getJobResources()- Parameters:
jobResources- Identifies the resources to deploy for a monitoring job.- Returns:
this
-
jobResources
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder jobResources(CfnModelBiasJobDefinitionPropsMixin.MonitoringResourcesProperty jobResources) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getJobResources()- Parameters:
jobResources- Identifies the resources to deploy for a monitoring job.- Returns:
this
-
modelBiasAppSpecification
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasAppSpecification(IResolvable modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasAppSpecification()- Parameters:
modelBiasAppSpecification- Configures the model bias job to run a specified Docker container image.- Returns:
this
-
modelBiasAppSpecification
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasAppSpecification(CfnModelBiasJobDefinitionPropsMixin.ModelBiasAppSpecificationProperty modelBiasAppSpecification) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasAppSpecification()- Parameters:
modelBiasAppSpecification- Configures the model bias job to run a specified Docker container image.- Returns:
this
-
modelBiasBaselineConfig
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasBaselineConfig(IResolvable modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasBaselineConfig()- Parameters:
modelBiasBaselineConfig- The baseline configuration for a model bias job.- Returns:
this
-
modelBiasBaselineConfig
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasBaselineConfig(CfnModelBiasJobDefinitionPropsMixin.ModelBiasBaselineConfigProperty modelBiasBaselineConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasBaselineConfig()- Parameters:
modelBiasBaselineConfig- The baseline configuration for a model bias job.- Returns:
this
-
modelBiasJobInput
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasJobInput(IResolvable modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobInput()- Parameters:
modelBiasJobInput- Inputs for the model bias job.- Returns:
this
-
modelBiasJobInput
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasJobInput(CfnModelBiasJobDefinitionPropsMixin.ModelBiasJobInputProperty modelBiasJobInput) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobInput()- Parameters:
modelBiasJobInput- Inputs for the model bias job.- Returns:
this
-
modelBiasJobOutputConfig
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasJobOutputConfig(IResolvable modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobOutputConfig()- Parameters:
modelBiasJobOutputConfig- The output configuration for monitoring jobs.- Returns:
this
-
modelBiasJobOutputConfig
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder modelBiasJobOutputConfig(CfnModelBiasJobDefinitionPropsMixin.MonitoringOutputConfigProperty modelBiasJobOutputConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getModelBiasJobOutputConfig()- Parameters:
modelBiasJobOutputConfig- The output configuration for monitoring jobs.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder networkConfig(IResolvable networkConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getNetworkConfig()- Parameters:
networkConfig- Networking options for a model bias job.- Returns:
this
-
networkConfig
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder networkConfig(CfnModelBiasJobDefinitionPropsMixin.NetworkConfigProperty networkConfig) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getNetworkConfig()- Parameters:
networkConfig- Networking options for a model bias job.- Returns:
this
-
roleArn
Sets the value ofCfnModelBiasJobDefinitionMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.- Returns:
this
-
roleArn
Sets the value ofCfnModelBiasJobDefinitionMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder stoppingCondition(IResolvable stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getStoppingCondition()- Parameters:
stoppingCondition- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
stoppingCondition
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder stoppingCondition(CfnModelBiasJobDefinitionPropsMixin.StoppingConditionProperty stoppingCondition) Sets the value ofCfnModelBiasJobDefinitionMixinProps.getStoppingCondition()- Parameters:
stoppingCondition- A time limit for how long the monitoring job is allowed to run before stopping.- Returns:
this
-
tags
@Stability(Stable) public CfnModelBiasJobDefinitionMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnModelBiasJobDefinitionMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelBiasJobDefinitionMixinProps>- Returns:
- a new instance of
CfnModelBiasJobDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-