public Tunnel withStatus(TunnelStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of a tunnel. Valid values are: Open and Closed.
</p>

@param status
       The status of a tunnel. Valid values are: Open and Closed.
@return Returns a reference to this object so that method calls can be chained together.
@see TunnelStatus
aws-java-sdk-iotsecuretunneling/src/main/java/com/amazonaws/services/iotsecuretunneling/model/Tunnel.java