public Nodegroup withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The current status of the managed node group.
</p>

@param status
       The current status of the managed node group.
@return Returns a reference to this object so that method calls can be chained together.
@see NodegroupStatus
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/Nodegroup.java