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 interfaceNodeDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisMainNode()Specifies whether the current node is the main node for a multi-node parallel job.IntegernodeIndex()The node index for the node.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodeDetails.Builder>serializableBuilderClass()NodeDetails.BuildertoBuilder()StringtoString()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_INDEXenvironment 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_INDEXenvironment 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-