public Session withStatus(SessionStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The session status.
</p>

@param status
       The session status.
@return Returns a reference to this object so that method calls can be chained together.
@see SessionStatus
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/Session.java