Class CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty>
- Enclosing interface:
- CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty
@Stability(Stable)
public static final class CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerArguments(List<String> containerArguments) containerEntrypoint(List<String> containerEntrypoint) environment(Map<String, String> environment) environment(IResolvable environment) postAnalyticsProcessorSourceUri(String postAnalyticsProcessorSourceUri) problemType(String problemType) recordPreprocessorSourceUri(String recordPreprocessorSourceUri)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageUri
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder imageUri(String imageUri) - Parameters:
imageUri- The address of the container image that the monitoring job runs. This parameter is required.- Returns:
this
-
problemType
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder problemType(String problemType) Sets the value ofCfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.getProblemType()- Parameters:
problemType- The machine learning problem type of the model that the monitoring job monitors. This parameter is required.- Returns:
this
-
containerArguments
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder containerArguments(List<String> containerArguments) Sets the value ofCfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.getContainerArguments()- Parameters:
containerArguments- An array of arguments for the container used to run the monitoring job.- Returns:
this
-
containerEntrypoint
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder containerEntrypoint(List<String> containerEntrypoint) Sets the value ofCfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.getContainerEntrypoint()- Parameters:
containerEntrypoint- Specifies the entrypoint for a container that the monitoring job runs.- Returns:
this
-
environment
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder environment(IResolvable environment) Sets the value ofCfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.getEnvironment()- Parameters:
environment- Sets the environment variables in the container that the monitoring job runs.- Returns:
this
-
environment
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder environment(Map<String, String> environment) Sets the value ofCfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.getEnvironment()- Parameters:
environment- Sets the environment variables in the container that the monitoring job runs.- Returns:
this
-
postAnalyticsProcessorSourceUri
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder postAnalyticsProcessorSourceUri(String postAnalyticsProcessorSourceUri) Sets the value ofCfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.getPostAnalyticsProcessorSourceUri()- Parameters:
postAnalyticsProcessorSourceUri- An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.- Returns:
this
-
recordPreprocessorSourceUri
@Stability(Stable) public CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Builder recordPreprocessorSourceUri(String recordPreprocessorSourceUri) Sets the value ofCfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.getRecordPreprocessorSourceUri()- Parameters:
recordPreprocessorSourceUri- An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty>- Returns:
- a new instance of
CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-