public boolean equals()

in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/SNSEvent.java [508:562]


        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null)
                return false;

            if (obj instanceof SNS == false)
                return false;
            SNS other = (SNS) obj;
            if (other.getMessageAttributes() == null ^ this.getMessageAttributes() == null)
                return false;
            if (other.getMessageAttributes() != null && other.getMessageAttributes().equals(this.getMessageAttributes()) == false)
                return false;
            if (other.getSigningCertUrl() == null ^ this.getSigningCertUrl() == null)
                return false;
            if (other.getSigningCertUrl() != null && other.getSigningCertUrl().equals(this.getSigningCertUrl()) == false)
                return false;
            if (other.getMessageId() == null ^ this.getMessageId() == null)
                return false;
            if (other.getMessageId() != null && other.getMessageId().equals(this.getMessageId()) == false)
                return false;
            if (other.getMessage() == null ^ this.getMessage() == null)
                return false;
            if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false)
                return false;
            if (other.getSubject() == null ^ this.getSubject() == null)
                return false;
            if (other.getSubject() != null && other.getSubject().equals(this.getSubject()) == false)
                return false;
            if (other.getUnsubscribeUrl() == null ^ this.getUnsubscribeUrl() == null)
                return false;
            if (other.getUnsubscribeUrl() != null && other.getUnsubscribeUrl().equals(this.getUnsubscribeUrl()) == false)
                return false;
            if (other.getType() == null ^ this.getType() == null)
                return false;
            if (other.getType() != null && other.getType().equals(this.getType()) == false)
                return false;
            if (other.getSignatureVersion() == null ^ this.getSignatureVersion() == null)
                return false;
            if (other.getSignatureVersion() != null && other.getSignatureVersion().equals(this.getSignatureVersion()) == false)
                return false;
            if (other.getSignature() == null ^ this.getSignature() == null)
                return false;
            if (other.getSignature() != null && other.getSignature().equals(this.getSignature()) == false)
                return false;
            if (other.getTimestamp() == null ^ this.getTimestamp() == null)
                return false;
            if (other.getTimestamp() != null && other.getTimestamp().equals(this.getTimestamp()) == false)
                return false;
            if (other.getTopicArn() == null ^ this.getTopicArn() == null)
                return false;
            if (other.getTopicArn() != null && other.getTopicArn().equals(this.getTopicArn()) == false)
                return false;
            return true;
        }