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