@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeProperties extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the node properties of a multi-node parallel job.
Node properties can't be specified for Amazon EKS based job definitions.
Constructor and Description |
---|
NodeProperties() |
Modifier and Type | Method and Description |
---|---|
NodeProperties |
clone() |
boolean |
equals(Object obj) |
Integer |
getMainNode()
Specifies the node index for the main node of a multi-node parallel job.
|
List<NodeRangeProperty> |
getNodeRangeProperties()
A list of node ranges and their properties that are associated with a multi-node parallel job.
|
Integer |
getNumNodes()
The number of nodes that are associated with a multi-node parallel job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMainNode(Integer mainNode)
Specifies the node index for the main node of a multi-node parallel job.
|
void |
setNodeRangeProperties(Collection<NodeRangeProperty> nodeRangeProperties)
A list of node ranges and their properties that are associated with a multi-node parallel job.
|
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.
|
NodeProperties |
withMainNode(Integer mainNode)
Specifies the node index for the main node of a multi-node parallel job.
|
NodeProperties |
withNodeRangeProperties(Collection<NodeRangeProperty> nodeRangeProperties)
A list of node ranges and their properties that are associated with a multi-node parallel job.
|
NodeProperties |
withNodeRangeProperties(NodeRangeProperty... nodeRangeProperties)
A list of node ranges and their properties that are associated with a multi-node parallel job.
|
NodeProperties |
withNumNodes(Integer numNodes)
The number of nodes that are associated with 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 NodeProperties 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 setMainNode(Integer mainNode)
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
mainNode
- Specifies the node index for the main node of a multi-node parallel job. This node index value must be
fewer than the number of nodes.public Integer getMainNode()
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
public NodeProperties withMainNode(Integer mainNode)
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
mainNode
- Specifies the node index for the main node of a multi-node parallel job. This node index value must be
fewer than the number of nodes.public List<NodeRangeProperty> getNodeRangeProperties()
A list of node ranges and their properties that are associated with a multi-node parallel job.
public void setNodeRangeProperties(Collection<NodeRangeProperty> nodeRangeProperties)
A list of node ranges and their properties that are associated with a multi-node parallel job.
nodeRangeProperties
- A list of node ranges and their properties that are associated with a multi-node parallel job.public NodeProperties withNodeRangeProperties(NodeRangeProperty... nodeRangeProperties)
A list of node ranges and their properties that are associated with a multi-node parallel job.
NOTE: This method appends the values to the existing list (if any). Use
setNodeRangeProperties(java.util.Collection)
or withNodeRangeProperties(java.util.Collection)
if you want to override the existing values.
nodeRangeProperties
- A list of node ranges and their properties that are associated with a multi-node parallel job.public NodeProperties withNodeRangeProperties(Collection<NodeRangeProperty> nodeRangeProperties)
A list of node ranges and their properties that are associated with a multi-node parallel job.
nodeRangeProperties
- A list of node ranges and their properties that are associated with a multi-node parallel job.public String toString()
toString
in class Object
Object.toString()
public NodeProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.