if (getIdentityPoolName() != null) sb.append("IdentityPoolName: ").append(getIdentityPoolName()).append(","); if (getAllowUnauthenticatedIdentities() != null) sb.append("AllowUnauthenticatedIdentities: ").append(getAllowUnauthenticatedIdentities()).append(","); if (getSupportedLoginProviders() != null) sb.append("SupportedLoginProviders: ").append(getSupportedLoginProviders()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIdentityPoolId() == null) ? 0 : getIdentityPoolId().hashCode()); hashCode = prime * hashCode + ((getIdentityPoolName() == null) ? 0 : getIdentityPoolName().hashCode()); hashCode = prime * hashCode + ((getAllowUnauthenticatedIdentities() == null) ? 0 : getAllowUnauthenticatedIdentities().hashCode()); hashCode = prime * hashCode + ((getSupportedLoginProviders() == null) ? 0 : getSupportedLoginProviders().hashCode()); hashCode = prime * hashCode + ((getDeveloperProviderName() == null) ? 0 : getDeveloperProviderName().hashCode()); hashCode = prime * hashCode + ((getOpenIdConnectProviderARNs() == null) ? 0 : getOpenIdConnectProviderARNs().hashCode()); hashCode = prime * hashCode + ((getCognitoIdentityProviders() == null) ? 0 : getCognitoIdentityProviders().hashCode()); hashCode = prime * hashCode + ((getSamlProviderARNs() == null) ? 0 : getSamlProviderARNs().hashCode()); return hashCode; }
if (other.getIdentityPoolName() != null && other.getIdentityPoolName().equals(this.getIdentityPoolName()) == false) return false; if (other.getAllowUnauthenticatedIdentities() == null ^ this.getAllowUnauthenticatedIdentities() == null) return false; if (other.getAllowUnauthenticatedIdentities() != null && other.getAllowUnauthenticatedIdentities().equals(this.getAllowUnauthenticatedIdentities()) == false) return false; if (other.getSupportedLoginProviders() == null ^ this.getSupportedLoginProviders() == null)
if (getIdentityPoolName() != null) sb.append("IdentityPoolName: " + getIdentityPoolName() + ","); if (getAllowUnauthenticatedIdentities() != null) sb.append("AllowUnauthenticatedIdentities: " + getAllowUnauthenticatedIdentities() + ","); if (getSupportedLoginProviders() != null)
hashCode = prime + ((getAllowUnauthenticatedIdentities() == null) ? 0 : getAllowUnauthenticatedIdentities().hashCode()); hashCode = prime
&& other.getIdentityPoolName().equals(this.getIdentityPoolName()) == false) return false; if (other.getAllowUnauthenticatedIdentities() == null ^ this.getAllowUnauthenticatedIdentities() == null) return false; if (other.getAllowUnauthenticatedIdentities() != null && other.getAllowUnauthenticatedIdentities().equals( this.getAllowUnauthenticatedIdentities()) == false) return false; if (other.getSupportedLoginProviders() == null ^ this.getSupportedLoginProviders() == null)