public UpdateNodegroupConfigRequest withTaints(UpdateTaintsPayload taints) {
        setTaints(taints);
        return this;
    }
<p>
The Kubernetes taints to be applied to the nodes in the node group after the update. For more information, see <a
href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node taints on
managed node groups</a>.
</p>

@param taints
       The Kubernetes taints to be applied to the nodes in the node group after the update. For more information,
       see <a href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node
       taints on managed node groups</a>.
@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/UpdateNodegroupConfigRequest.java