public ListSolNetworkInstanceInfo withNsState(NsState nsState) {
        this.nsState = nsState.toString();
        return this;
    }
<p>
The state of the network instance.
</p>

@param nsState
       The state of the network instance.
@return Returns a reference to this object so that method calls can be chained together.
@see NsState
aws-java-sdk-tnb/src/main/java/com/amazonaws/services/tnb/model/ListSolNetworkInstanceInfo.java