in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayProxyRequestEvent.java [1000:1062]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof RequestIdentity == false)
return false;
RequestIdentity other = (RequestIdentity) obj;
if (other.getCognitoIdentityPoolId() == null ^ this.getCognitoIdentityPoolId() == null)
return false;
if (other.getCognitoIdentityPoolId() != null && other.getCognitoIdentityPoolId().equals(this.getCognitoIdentityPoolId()) == false)
return false;
if (other.getAccountId() == null ^ this.getAccountId() == null)
return false;
if (other.getAccountId() != null && other.getAccountId().equals(this.getAccountId()) == false)
return false;
if (other.getCognitoIdentityId() == null ^ this.getCognitoIdentityId() == null)
return false;
if (other.getCognitoIdentityId() != null && other.getCognitoIdentityId().equals(this.getCognitoIdentityId()) == false)
return false;
if (other.getCaller() == null ^ this.getCaller() == null)
return false;
if (other.getCaller() != null && other.getCaller().equals(this.getCaller()) == false)
return false;
if (other.getApiKey() == null ^ this.getApiKey() == null)
return false;
if (other.getApiKey() != null && other.getApiKey().equals(this.getApiKey()) == false)
return false;
if (other.getPrincipalOrgId() == null ^ this.getPrincipalOrgId() == null)
return false;
if (other.getPrincipalOrgId() != null && other.getPrincipalOrgId().equals(this.getPrincipalOrgId()) == false)
return false;
if (other.getSourceIp() == null ^ this.getSourceIp() == null)
return false;
if (other.getSourceIp() != null && other.getSourceIp().equals(this.getSourceIp()) == false)
return false;
if (other.getCognitoAuthenticationType() == null ^ this.getCognitoAuthenticationType() == null)
return false;
if (other.getCognitoAuthenticationType() != null && other.getCognitoAuthenticationType().equals(this.getCognitoAuthenticationType()) == false)
return false;
if (other.getCognitoAuthenticationProvider() == null ^ this.getCognitoAuthenticationProvider() == null)
return false;
if (other.getCognitoAuthenticationProvider() != null && other.getCognitoAuthenticationProvider().equals(this.getCognitoAuthenticationProvider()) == false)
return false;
if (other.getUserArn() == null ^ this.getUserArn() == null)
return false;
if (other.getUserArn() != null && other.getUserArn().equals(this.getUserArn()) == false)
return false;
if (other.getUserAgent() == null ^ this.getUserAgent() == null)
return false;
if (other.getUserAgent() != null && other.getUserAgent().equals(this.getUserAgent()) == false)
return false;
if (other.getUser() == null ^ this.getUser() == null)
return false;
if (other.getUser() != null && other.getUser().equals(this.getUser()) == false)
return false;
if (other.getAccessKey() == null ^ this.getAccessKey() == null)
return false;
if (other.getAccessKey() != null && other.getAccessKey().equals(this.getAccessKey()) == false)
return false;
return true;
}