@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        Attribute<?, ?> attribute = (Attribute<?, ?>) o;
        return Objects.equals(name, attribute.name);
    }
Default Setter implementation based on JavaBean property write method.
plugin/src/main/java/io/jenkins/plugins/casc/Attribute.java