public Connection withConnectionStatus(ConnectionStatus connectionStatus) {
        this.connectionStatus = connectionStatus.toString();
        return this;
    }
<p>
The current status of the connection.
</p>

@param connectionStatus
       The current status of the connection.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectionStatus
aws-java-sdk-codeconnections/src/main/java/com/amazonaws/services/codeconnections/model/Connection.java