/* * 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; /** *
* Information about the container that a data quality monitoring job runs. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DataQualityAppSpecification implements Serializable, Cloneable, StructuredPojo { /** ** The container image that the data quality monitoring job runs. *
*/ private String imageUri; /** ** The entrypoint for a container used to run a monitoring job. *
*/ private java.util.List* The arguments to send to the container that the monitoring job runs. *
*/ 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; /** ** Sets the environment variables in the container that the monitoring job runs. *
*/ private java.util.Map* The container image that the data quality monitoring job runs. *
* * @param imageUri * The container image that the data quality monitoring job runs. */ public void setImageUri(String imageUri) { this.imageUri = imageUri; } /** ** The container image that the data quality monitoring job runs. *
* * @return The container image that the data quality monitoring job runs. */ public String getImageUri() { return this.imageUri; } /** ** The container image that the data quality monitoring job runs. *
* * @param imageUri * The container image that the data quality monitoring job runs. * @return Returns a reference to this object so that method calls can be chained together. */ public DataQualityAppSpecification withImageUri(String imageUri) { setImageUri(imageUri); return this; } /** ** The entrypoint for a container used to run a monitoring job. *
* * @return The entrypoint for a container used to run a monitoring job. */ public java.util.List* The entrypoint for a container used to run a monitoring job. *
* * @param containerEntrypoint * The entrypoint for a container used to run a monitoring job. */ public void setContainerEntrypoint(java.util.Collection* The entrypoint for a container used to run a monitoring job. *
** 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 * The entrypoint for a container used to run a monitoring job. * @return Returns a reference to this object so that method calls can be chained together. */ public DataQualityAppSpecification withContainerEntrypoint(String... containerEntrypoint) { if (this.containerEntrypoint == null) { setContainerEntrypoint(new java.util.ArrayList* The entrypoint for a container used to run a monitoring job. *
* * @param containerEntrypoint * The entrypoint for a container used to run a monitoring job. * @return Returns a reference to this object so that method calls can be chained together. */ public DataQualityAppSpecification withContainerEntrypoint(java.util.Collection* The arguments to send to the container that the monitoring job runs. *
* * @return The arguments to send to the container that the monitoring job runs. */ public java.util.List* The arguments to send to the container that the monitoring job runs. *
* * @param containerArguments * The arguments to send to the container that the monitoring job runs. */ public void setContainerArguments(java.util.Collection* The arguments to send to the container that the monitoring job runs. *
** 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 * The arguments to send to the container that the monitoring job runs. * @return Returns a reference to this object so that method calls can be chained together. */ public DataQualityAppSpecification withContainerArguments(String... containerArguments) { if (this.containerArguments == null) { setContainerArguments(new java.util.ArrayList* The arguments to send to the container that the monitoring job runs. *
* * @param containerArguments * The arguments to send to the container that the monitoring job runs. * @return Returns a reference to this object so that method calls can be chained together. */ public DataQualityAppSpecification 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 DataQualityAppSpecification 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 DataQualityAppSpecification withPostAnalyticsProcessorSourceUri(String postAnalyticsProcessorSourceUri) { setPostAnalyticsProcessorSourceUri(postAnalyticsProcessorSourceUri); 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 DataQualityAppSpecification withEnvironment(java.util.Map