in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/SQSEvent.java [146:177]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof MessageAttribute == false)
return false;
MessageAttribute other = (MessageAttribute) obj;
if (other.getStringValue() == null ^ this.getStringValue() == null)
return false;
if (other.getStringValue() != null && other.getStringValue().equals(this.getStringValue()) == false)
return false;
if (other.getBinaryValue() == null ^ this.getBinaryValue() == null)
return false;
if (other.getBinaryValue() != null && other.getBinaryValue().equals(this.getBinaryValue()) == false)
return false;
if (other.getStringListValues() == null ^ this.getStringListValues() == null)
return false;
if (other.getStringListValues() != null
&& other.getStringListValues().equals(this.getStringListValues()) == false)
return false;
if (other.getBinaryListValues() == null ^ this.getBinaryListValues() == null)
return false;
if (other.getBinaryListValues() != null
&& other.getBinaryListValues().equals(this.getBinaryListValues()) == false)
return false;
if (other.getDataType() == null ^ this.getDataType() == null)
return false;
if (other.getDataType() != null && other.getDataType().equals(this.getDataType()) == false)
return false;
return true;
}