public RegisterJobDefinitionRequest withNodeProperties(NodeProperties nodeProperties) {
        setNodeProperties(nodeProperties);
        return this;
    }
<p>
An object with properties specific to multi-node parallel jobs. If you specify node properties for a job, it
becomes a multi-node parallel job. For more information, see <a
href="https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html">Multi-node Parallel
Jobs</a> in the <i>Batch User Guide</i>.
</p>
<note>
<p>
If the job runs on Fargate resources, then you must not specify <code>nodeProperties</code>; use
<code>containerProperties</code> instead.
</p>
</note> <note>
<p>
If the job runs on Amazon EKS resources, then you must not specify <code>nodeProperties</code>.
</p>
</note>

@param nodeProperties
       An object with properties specific to multi-node parallel jobs. If you specify node properties for a job,
       it becomes a multi-node parallel job. For more information, see <a
       href="https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html">Multi-node
       Parallel Jobs</a> in the <i>Batch User Guide</i>.</p> <note>
       <p>
       If the job runs on Fargate resources, then you must not specify <code>nodeProperties</code>; use
       <code>containerProperties</code> instead.
       </p>
       </note> <note>
       <p>
       If the job runs on Amazon EKS resources, then you must not specify <code>nodeProperties</code>.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/RegisterJobDefinitionRequest.java