class RestSTSInstanceConfig extends STSInstanceConfig {

    @Override
    public boolean equals(Object other) {
        if (other instanceof RestSTSInstanceConfig) {
            RestSTSInstanceConfig otherConfig = (RestSTSInstanceConfig)other;
            return  super.equals(otherConfig) &&
                    supportedTokenTransforms.equals(otherConfig.supportedTokenTransforms)  &&
                    Objects.equals(customTokenValidators, otherConfig.customTokenValidators) &&
                    Objects.equals(customTokenProviders, otherConfig.customTokenProviders) &&
                    Objects.equals(customTokenTransforms, otherConfig.customTokenTransforms) &&
                    deploymentConfig.equals(otherConfig.deploymentConfig);
        }
        return false;
    }

    private  RestSTSInstanceConfig(RestSTSInstanceConfigBuilderBase<?> builder);

}