public ListNodesRequest withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
An optional status specifier. If provided, only nodes currently in this status are listed.
</p>

@param status
       An optional status specifier. If provided, only nodes currently in this status are listed.
@return Returns a reference to this object so that method calls can be chained together.
@see NodeStatus
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/ListNodesRequest.java