class RestSTSTokenValidationInvocationState {

    @Override
    public boolean equals(Object other) {
        if (other instanceof RestSTSTokenValidationInvocationState) {
            RestSTSTokenValidationInvocationState otherState = (RestSTSTokenValidationInvocationState)other;
            return validatedTokenState.toString().equals(otherState.validatedTokenState.toString());
        }
        return false;
    }

    private  RestSTSTokenValidationInvocationState(RestSTSTokenValidationInvocationStateBuilder builder);

}