public ReservedCacheNode withState(String state) {
        setState(state);
        return this;
    }
<p>
The state of the reserved cache node.
</p>

@param state
       The state of the reserved cache node.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ReservedCacheNode.java