@Generated(value="software.amazon.awssdk:codegen") public final class NodeOverrides extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeOverrides.Builder,NodeOverrides>
Object representing any node overrides to a job definition that's used in a SubmitJob API operation.
This isn't applicable to jobs running on Fargate resources and shouldn't be provided; use
containerOverrides
instead.
Modifier and Type | Class and Description |
---|---|
static interface |
NodeOverrides.Builder |
Modifier and Type | Method and Description |
---|---|
static NodeOverrides.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasNodePropertyOverrides()
Returns true if the NodePropertyOverrides property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<NodePropertyOverride> |
nodePropertyOverrides()
The node property overrides for the job.
|
Integer |
numNodes()
The number of nodes to use with a multi-node parallel job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NodeOverrides.Builder> |
serializableBuilderClass() |
NodeOverrides.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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:
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 specified in the job definition must be fewer than the number of nodes specified in the override.
The main node index 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 specified in the job definition must be fewer than the number of nodes specified in the override.
The main node index specified in the job definition must be fewer than the number of nodes specified in the override.
public final boolean hasNodePropertyOverrides()
public final List<NodePropertyOverride> nodePropertyOverrides()
The node property overrides for the job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNodePropertyOverrides()
to see if a value was sent in this field.
public NodeOverrides.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<NodeOverrides.Builder,NodeOverrides>
public static NodeOverrides.Builder builder()
public static Class<? extends NodeOverrides.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.