/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Container image configuration object for the monitoring job. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ModelQualityAppSpecification implements Serializable, Cloneable, StructuredPojo { /** ** The address of the container image that the monitoring job runs. *
*/ private String imageUri; /** ** Specifies the entrypoint for a container that the monitoring job runs. *
*/ private java.util.List* An array of arguments for the container used to run the monitoring job. *
*/ private java.util.List* 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. *
*/ private String recordPreprocessorSourceUri; /** ** An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in * (first party) containers. *
*/ private String postAnalyticsProcessorSourceUri; /** ** The machine learning problem type of the model that the monitoring job monitors. *
*/ private String problemType; /** ** Sets the environment variables in the container that the monitoring job runs. *
*/ private java.util.Map* The address of the container image that the monitoring job runs. *
* * @param imageUri * The address of the container image that the monitoring job runs. */ public void setImageUri(String imageUri) { this.imageUri = imageUri; } /** ** The address of the container image that the monitoring job runs. *
* * @return The address of the container image that the monitoring job runs. */ public String getImageUri() { return this.imageUri; } /** ** The address of the container image that the monitoring job runs. *
* * @param imageUri * The address of the container image that the monitoring job runs. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withImageUri(String imageUri) { setImageUri(imageUri); return this; } /** ** Specifies the entrypoint for a container that the monitoring job runs. *
* * @return Specifies the entrypoint for a container that the monitoring job runs. */ public java.util.List* Specifies the entrypoint for a container that the monitoring job runs. *
* * @param containerEntrypoint * Specifies the entrypoint for a container that the monitoring job runs. */ public void setContainerEntrypoint(java.util.Collection* Specifies the entrypoint for a container that the monitoring job runs. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setContainerEntrypoint(java.util.Collection)} or {@link #withContainerEntrypoint(java.util.Collection)} * if you want to override the existing values. *
* * @param containerEntrypoint * Specifies the entrypoint for a container that the monitoring job runs. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withContainerEntrypoint(String... containerEntrypoint) { if (this.containerEntrypoint == null) { setContainerEntrypoint(new java.util.ArrayList* Specifies the entrypoint for a container that the monitoring job runs. *
* * @param containerEntrypoint * Specifies the entrypoint for a container that the monitoring job runs. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withContainerEntrypoint(java.util.Collection* An array of arguments for the container used to run the monitoring job. *
* * @return An array of arguments for the container used to run the monitoring job. */ public java.util.List* An array of arguments for the container used to run the monitoring job. *
* * @param containerArguments * An array of arguments for the container used to run the monitoring job. */ public void setContainerArguments(java.util.Collection* An array of arguments for the container used to run the monitoring job. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setContainerArguments(java.util.Collection)} or {@link #withContainerArguments(java.util.Collection)} if * you want to override the existing values. *
* * @param containerArguments * An array of arguments for the container used to run the monitoring job. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withContainerArguments(String... containerArguments) { if (this.containerArguments == null) { setContainerArguments(new java.util.ArrayList* An array of arguments for the container used to run the monitoring job. *
* * @param containerArguments * An array of arguments for the container used to run the monitoring job. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withContainerArguments(java.util.Collection* 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. *
* * @param 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. */ public void setRecordPreprocessorSourceUri(String recordPreprocessorSourceUri) { this.recordPreprocessorSourceUri = 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. *
* * @return 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. */ public String getRecordPreprocessorSourceUri() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withRecordPreprocessorSourceUri(String recordPreprocessorSourceUri) { setRecordPreprocessorSourceUri(recordPreprocessorSourceUri); return this; } /** ** An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in * (first party) containers. *
* * @param 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. */ public void setPostAnalyticsProcessorSourceUri(String postAnalyticsProcessorSourceUri) { this.postAnalyticsProcessorSourceUri = 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. *
* * @return An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the * built-in (first party) containers. */ public String getPostAnalyticsProcessorSourceUri() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withPostAnalyticsProcessorSourceUri(String postAnalyticsProcessorSourceUri) { setPostAnalyticsProcessorSourceUri(postAnalyticsProcessorSourceUri); return this; } /** ** The machine learning problem type of the model that the monitoring job monitors. *
* * @param problemType * The machine learning problem type of the model that the monitoring job monitors. * @see MonitoringProblemType */ public void setProblemType(String problemType) { this.problemType = problemType; } /** ** The machine learning problem type of the model that the monitoring job monitors. *
* * @return The machine learning problem type of the model that the monitoring job monitors. * @see MonitoringProblemType */ public String getProblemType() { return this.problemType; } /** ** The machine learning problem type of the model that the monitoring job monitors. *
* * @param problemType * The machine learning problem type of the model that the monitoring job monitors. * @return Returns a reference to this object so that method calls can be chained together. * @see MonitoringProblemType */ public ModelQualityAppSpecification withProblemType(String problemType) { setProblemType(problemType); return this; } /** ** The machine learning problem type of the model that the monitoring job monitors. *
* * @param problemType * The machine learning problem type of the model that the monitoring job monitors. * @return Returns a reference to this object so that method calls can be chained together. * @see MonitoringProblemType */ public ModelQualityAppSpecification withProblemType(MonitoringProblemType problemType) { this.problemType = problemType.toString(); return this; } /** ** Sets the environment variables in the container that the monitoring job runs. *
* * @return Sets the environment variables in the container that the monitoring job runs. */ public java.util.Map* Sets the environment variables in the container that the monitoring job runs. *
* * @param environment * Sets the environment variables in the container that the monitoring job runs. */ public void setEnvironment(java.util.Map* Sets the environment variables in the container that the monitoring job runs. *
* * @param environment * Sets the environment variables in the container that the monitoring job runs. * @return Returns a reference to this object so that method calls can be chained together. */ public ModelQualityAppSpecification withEnvironment(java.util.Map