class SAML2TokenState {

    @Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (other instanceof SAML2TokenState) {
            SAML2TokenState otherTokenState = (SAML2TokenState)other;
            return saml2TokenValue.equals(otherTokenState.getSAML2TokenValue());
        }
        return false;
    }

    private  SAML2TokenState(SAML2TokenStateBuilder builder);

}