public void setConnection(Connection connection) {
        this.connection = connection;
    }
<p>
The connection details, such as status, owner, and provider type.
</p>

@param connection
       The connection details, such as status, owner, and provider type.
aws-java-sdk-codestarconnections/src/main/java/com/amazonaws/services/codestarconnections/model/GetConnectionResult.java