@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeDetails extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the details of a multi-node parallel job node.
Constructor and Description |
---|
NodeDetails() |
Modifier and Type | Method and Description |
---|---|
NodeDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsMainNode()
Specifies whether the current node is the main node for a multi-node parallel job.
|
Integer |
getNodeIndex()
The node index for the node.
|
int |
hashCode() |
Boolean |
isMainNode()
Specifies whether the current node is the main node for a multi-node parallel job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsMainNode(Boolean isMainNode)
Specifies whether the current node is the main node for a multi-node parallel job.
|
void |
setNodeIndex(Integer nodeIndex)
The node index for the node.
|
String |
toString()
Returns a string representation of this object.
|
NodeDetails |
withIsMainNode(Boolean isMainNode)
Specifies whether the current node is the main node for a multi-node parallel job.
|
NodeDetails |
withNodeIndex(Integer nodeIndex)
The node index for the node.
|
public void setNodeIndex(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.
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.public Integer getNodeIndex()
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.
AWS_BATCH_JOB_NODE_INDEX
environment variable.public NodeDetails withNodeIndex(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.
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.public void setIsMainNode(Boolean isMainNode)
Specifies whether the current node is the main node for a multi-node parallel job.
isMainNode
- Specifies whether the current node is the main node for a multi-node parallel job.public Boolean getIsMainNode()
Specifies whether the current node is the main node for a multi-node parallel job.
public NodeDetails withIsMainNode(Boolean isMainNode)
Specifies whether the current node is the main node for a multi-node parallel job.
isMainNode
- Specifies whether the current node is the main node for a multi-node parallel job.public Boolean isMainNode()
Specifies whether the current node is the main node for a multi-node parallel job.
public String toString()
toString
in class Object
Object.toString()
public NodeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.