@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodePropertiesSummary extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the properties of a node that's associated with a multi-node parallel job.
Constructor and Description |
---|
NodePropertiesSummary() |
Modifier and Type | Method and Description |
---|---|
NodePropertiesSummary |
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.
|
Integer |
getNumNodes()
The number of nodes that are associated with a multi-node parallel job.
|
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.
|
void |
setNumNodes(Integer numNodes)
The number of nodes that are associated with a multi-node parallel job.
|
String |
toString()
Returns a string representation of this object.
|
NodePropertiesSummary |
withIsMainNode(Boolean isMainNode)
Specifies whether the current node is the main node for a multi-node parallel job.
|
NodePropertiesSummary |
withNodeIndex(Integer nodeIndex)
The node index for the node.
|
NodePropertiesSummary |
withNumNodes(Integer numNodes)
The number of nodes that are associated with a multi-node parallel job.
|
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 NodePropertiesSummary 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 void setNumNodes(Integer numNodes)
The number of nodes that are associated with a multi-node parallel job.
numNodes
- The number of nodes that are associated with a multi-node parallel job.public Integer getNumNodes()
The number of nodes that are associated with a multi-node parallel job.
public NodePropertiesSummary withNumNodes(Integer numNodes)
The number of nodes that are associated with a multi-node parallel job.
numNodes
- The number of nodes that are associated with a multi-node parallel job.public void setNodeIndex(Integer nodeIndex)
The node index for the node. Node index numbering begins 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 begins 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 begins 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 NodePropertiesSummary withNodeIndex(Integer nodeIndex)
The node index for the node. Node index numbering begins 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 begins at zero. This index is also available on the node
with the AWS_BATCH_JOB_NODE_INDEX
environment variable.public String toString()
toString
in class Object
Object.toString()
public NodePropertiesSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.