@NonNull
    @Override
    public Set<Attribute<UpdateSite, ?>> describe() {
        // setters are marked as noop, a new instance needs to be created.
        return new HashSet<>(Arrays.asList(
                new Attribute<UpdateSite, String>("id", String.class)
                        .getter(UpdateSite::getId)
                        .setter(noop()),
                new Attribute<UpdateSite, String>("url", String.class)
                        .getter(UpdateSite::getUrl)
                        .setter(noop())));
    }
TODO would  not be required if UpdateSite had a DataBoundConstructor
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
plugin/src/main/java/io/jenkins/plugins/casc/core/UpdateSiteConfigurator.java