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)
/** * Marshall the given parameter object. */ public void marshall(UpdateIdentityPoolRequest updateIdentityPoolRequest, ProtocolMarshaller protocolMarshaller) { if (updateIdentityPoolRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(updateIdentityPoolRequest.getIdentityPoolId(), IDENTITYPOOLID_BINDING); protocolMarshaller.marshall(updateIdentityPoolRequest.getIdentityPoolName(), IDENTITYPOOLNAME_BINDING); protocolMarshaller.marshall(updateIdentityPoolRequest.getAllowUnauthenticatedIdentities(), ALLOWUNAUTHENTICATEDIDENTITIES_BINDING); protocolMarshaller.marshall(updateIdentityPoolRequest.getSupportedLoginProviders(), SUPPORTEDLOGINPROVIDERS_BINDING); protocolMarshaller.marshall(updateIdentityPoolRequest.getDeveloperProviderName(), DEVELOPERPROVIDERNAME_BINDING); protocolMarshaller.marshall(updateIdentityPoolRequest.getOpenIdConnectProviderARNs(), OPENIDCONNECTPROVIDERARNS_BINDING); protocolMarshaller.marshall(updateIdentityPoolRequest.getCognitoIdentityProviders(), COGNITOIDENTITYPROVIDERS_BINDING); protocolMarshaller.marshall(updateIdentityPoolRequest.getSamlProviderARNs(), SAMLPROVIDERARNS_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
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)
jsonWriter.value(identityPoolName); if (updateIdentityPoolRequest.getAllowUnauthenticatedIdentities() != null) { Boolean allowUnauthenticatedIdentities = updateIdentityPoolRequest .getAllowUnauthenticatedIdentities(); jsonWriter.name("AllowUnauthenticatedIdentities"); jsonWriter.value(allowUnauthenticatedIdentities);