/* * 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.batch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An object that represents any node overrides to a job definition that's used in a SubmitJob API operation. *
*
* This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
* Rather, use containerOverrides
instead.
*
* The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are * specified in the job definition. To use this override, you must meet the following conditions: *
*
* There must be at least one node range in your job definition that has an open upper boundary, such as
* :
or n:
.
*
* The lower boundary of the node range that's specified in the job definition must be fewer than the number of * nodes specified in the override. *
** The main node index that's specified in the job definition must be fewer than the number of nodes specified in * the override. *
** The node property overrides for the job. *
*/ private java.util.List* The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are * specified in the job definition. To use this override, you must meet the following conditions: *
*
* There must be at least one node range in your job definition that has an open upper boundary, such as
* :
or n:
.
*
* The lower boundary of the node range that's specified in the job definition must be fewer than the number of * nodes specified in the override. *
** The main node index that's specified in the job definition must be fewer than the number of nodes specified in * the override. *
*
* There must be at least one node range in your job definition that has an open upper boundary, such as
* :
or n:
.
*
* The lower boundary of the node range that's specified in the job definition must be fewer than the number * of nodes specified in the override. *
** The main node index that's specified in the job definition must be fewer than the number of nodes * specified in the override. *
** The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are * specified in the job definition. To use this override, you must meet the following conditions: *
*
* There must be at least one node range in your job definition that has an open upper boundary, such as
* :
or n:
.
*
* The lower boundary of the node range that's specified in the job definition must be fewer than the number of * nodes specified in the override. *
** The main node index that's specified in the job definition must be fewer than the number of nodes specified in * the override. *
*
* There must be at least one node range in your job definition that has an open upper boundary, such as
* :
or n:
.
*
* The lower boundary of the node range that's specified in the job definition must be fewer than the number * of nodes specified in the override. *
** The main node index that's specified in the job definition must be fewer than the number of nodes * specified in the override. *
** The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are * specified in the job definition. To use this override, you must meet the following conditions: *
*
* There must be at least one node range in your job definition that has an open upper boundary, such as
* :
or n:
.
*
* The lower boundary of the node range that's specified in the job definition must be fewer than the number of * nodes specified in the override. *
** The main node index that's specified in the job definition must be fewer than the number of nodes specified in * the override. *
*
* There must be at least one node range in your job definition that has an open upper boundary, such as
* :
or n:
.
*
* The lower boundary of the node range that's specified in the job definition must be fewer than the number * of nodes specified in the override. *
** The main node index that's specified in the job definition must be fewer than the number of nodes * specified in the override. *
** The node property overrides for the job. *
* * @return The node property overrides for the job. */ public java.util.List* The node property overrides for the job. *
* * @param nodePropertyOverrides * The node property overrides for the job. */ public void setNodePropertyOverrides(java.util.Collection* The node property overrides for the job. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setNodePropertyOverrides(java.util.Collection)} or * {@link #withNodePropertyOverrides(java.util.Collection)} if you want to override the existing values. *
* * @param nodePropertyOverrides * The node property overrides for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public NodeOverrides withNodePropertyOverrides(NodePropertyOverride... nodePropertyOverrides) { if (this.nodePropertyOverrides == null) { setNodePropertyOverrides(new java.util.ArrayList* The node property overrides for the job. *
* * @param nodePropertyOverrides * The node property overrides for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public NodeOverrides withNodePropertyOverrides(java.util.Collection