@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeOverrides extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
NodeOverrides() |
Modifier and Type | Method and Description |
---|---|
NodeOverrides |
clone() |
boolean |
equals(Object obj) |
List<NodePropertyOverride> |
getNodePropertyOverrides()
The node property overrides for the job.
|
Integer |
getNumNodes()
The number of nodes to use with a multi-node parallel job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides)
The node property overrides for the job.
|
void |
setNumNodes(Integer numNodes)
The number of nodes to use with a multi-node parallel job.
|
String |
toString()
Returns a string representation of this object.
|
NodeOverrides |
withNodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides)
The node property overrides for the job.
|
NodeOverrides |
withNodePropertyOverrides(NodePropertyOverride... nodePropertyOverrides)
The node property overrides for the job.
|
NodeOverrides |
withNumNodes(Integer numNodes)
The number of nodes to use with a multi-node parallel job.
|
public void setNumNodes(Integer numNodes)
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.
numNodes
- 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.
public Integer getNumNodes()
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.
public NodeOverrides withNumNodes(Integer numNodes)
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.
numNodes
- 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.
public List<NodePropertyOverride> getNodePropertyOverrides()
The node property overrides for the job.
public void setNodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides)
The node property overrides for the job.
nodePropertyOverrides
- The node property overrides for the job.public NodeOverrides withNodePropertyOverrides(NodePropertyOverride... nodePropertyOverrides)
The node property overrides for the job.
NOTE: This method appends the values to the existing list (if any). Use
setNodePropertyOverrides(java.util.Collection)
or
withNodePropertyOverrides(java.util.Collection)
if you want to override the existing values.
nodePropertyOverrides
- The node property overrides for the job.public NodeOverrides withNodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides)
The node property overrides for the job.
nodePropertyOverrides
- The node property overrides for the job.public String toString()
toString
in class Object
Object.toString()
public NodeOverrides clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.