public GetConnectionResult withConnection(Connection connection) {
        setConnection(connection);
        return this;
    }
<p>
The requested connection definition.
</p>

@param connection
       The requested connection definition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/GetConnectionResult.java