public Nodegroup withNodeRole(String nodeRole) {
        setNodeRole(nodeRole);
        return this;
    }
<p>
The IAM role associated with your node group. The Amazon EKS node <code>kubelet</code> daemon makes calls to
Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM instance
profile and associated policies.
</p>

@param nodeRole
       The IAM role associated with your node group. The Amazon EKS node <code>kubelet</code> daemon makes calls
       to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API calls through an IAM
       instance profile and associated policies.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/Nodegroup.java