Class NodeDetails
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.NodeDetails
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<NodeDetails.Builder,NodeDetails>
@Generated("software.amazon.awssdk:codegen") public final class NodeDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeDetails.Builder,NodeDetails>
An object that represents the details of a multi-node parallel job node.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NodeDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeDetails.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
isMainNode()
Specifies whether the current node is the main node for a multi-node parallel job.Integer
nodeIndex()
The node index for the node.List<SdkField<?>>
sdkFields()
static Class<? extends NodeDetails.Builder>
serializableBuilderClass()
NodeDetails.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
nodeIndex
public final Integer nodeIndex()
The node index for the node. Node index numbering starts at zero. This index is also available on the node with the
AWS_BATCH_JOB_NODE_INDEX
environment variable.- Returns:
- The node index for the node. Node index numbering starts at zero. This index is also available on the
node with the
AWS_BATCH_JOB_NODE_INDEX
environment variable.
-
isMainNode
public final Boolean isMainNode()
Specifies whether the current node is the main node for a multi-node parallel job.
- Returns:
- Specifies whether the current node is the main node for a multi-node parallel job.
-
toBuilder
public NodeDetails.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<NodeDetails.Builder,NodeDetails>
-
builder
public static NodeDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodeDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-