public Connection withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The status of the connection. Can be one of: <code>READY</code>, <code>IN_PROGRESS</code>, or <code>FAILED</code>
.
</p>

@param status
       The status of the connection. Can be one of: <code>READY</code>, <code>IN_PROGRESS</code>, or
       <code>FAILED</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectionStatus
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/Connection.java