public void setLabels(java.util.Map<String, String> labels) {
        this.labels = labels;
    }
<p>
The Kubernetes <code>labels</code> applied to the nodes in the node group.
</p>
<note>
<p>
Only <code>labels</code> that are applied with the Amazon EKS API are shown here. There may be other Kubernetes
<code>labels</code> applied to the nodes in this group.
</p>
</note>

@param labels
       The Kubernetes <code>labels</code> applied to the nodes in the node group.</p> <note>
       <p>
       Only <code>labels</code> that are applied with the Amazon EKS API are shown here. There may be other
       Kubernetes <code>labels</code> applied to the nodes in this group.
       </p>
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/Nodegroup.java