class MyConnection {

    private String name;

    public MyConnection(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}
}

        return "MyConnection{" +
                "name='" + name + '\'' +
                '}';
    
<no_super_class>