/* * 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; /** *
* A list of container definitions that describe the different containers that make up an AutoML candidate. For more * information, see * ContainerDefinition. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AutoMLContainerDefinition implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see * ContainerDefinition. *
*/ private String image; /** ** The location of the model artifacts. For more information, see * ContainerDefinition. *
*/ private String modelDataUrl; /** ** The environment variables to set in the container. For more information, see * ContainerDefinition. *
*/ private java.util.Map* The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see * ContainerDefinition. *
* * @param image * The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see * ContainerDefinition. */ public void setImage(String image) { this.image = image; } /** ** The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see * ContainerDefinition. *
* * @return The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see * ContainerDefinition. */ public String getImage() { return this.image; } /** ** The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see * ContainerDefinition. *
* * @param image * The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see * ContainerDefinition. * @return Returns a reference to this object so that method calls can be chained together. */ public AutoMLContainerDefinition withImage(String image) { setImage(image); return this; } /** ** The location of the model artifacts. For more information, see * ContainerDefinition. *
* * @param modelDataUrl * The location of the model artifacts. For more information, see * ContainerDefinition. */ public void setModelDataUrl(String modelDataUrl) { this.modelDataUrl = modelDataUrl; } /** ** The location of the model artifacts. For more information, see * ContainerDefinition. *
* * @return The location of the model artifacts. For more information, see * ContainerDefinition. */ public String getModelDataUrl() { return this.modelDataUrl; } /** ** The location of the model artifacts. For more information, see * ContainerDefinition. *
* * @param modelDataUrl * The location of the model artifacts. For more information, see * ContainerDefinition. * @return Returns a reference to this object so that method calls can be chained together. */ public AutoMLContainerDefinition withModelDataUrl(String modelDataUrl) { setModelDataUrl(modelDataUrl); return this; } /** ** The environment variables to set in the container. For more information, see * ContainerDefinition. *
* * @return The environment variables to set in the container. For more information, see * ContainerDefinition. */ public java.util.Map* The environment variables to set in the container. For more information, see * ContainerDefinition. *
* * @param environment * The environment variables to set in the container. For more information, see * ContainerDefinition. */ public void setEnvironment(java.util.Map* The environment variables to set in the container. For more information, see * ContainerDefinition. *
* * @param environment * The environment variables to set in the container. For more information, see * ContainerDefinition. * @return Returns a reference to this object so that method calls can be chained together. */ public AutoMLContainerDefinition withEnvironment(java.util.Map