public boolean equals()

in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/KinesisEvent.java [86:120]


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

            if (obj instanceof Record == false)
                return false;
            Record other = (Record) obj;
            if (other.getSequenceNumber() == null ^ this.getSequenceNumber() == null)
                return false;
            if (other.getSequenceNumber() != null && other.getSequenceNumber().equals(this.getSequenceNumber()) == false)
                return false;
            if (other.getApproximateArrivalTimestamp() == null ^ this.getApproximateArrivalTimestamp() == null)
                return false;
            if (other.getApproximateArrivalTimestamp() != null && other.getApproximateArrivalTimestamp().equals(this.getApproximateArrivalTimestamp()) == false)
                return false;
            if (other.getData() == null ^ this.getData() == null)
                return false;
            if (other.getData() != null && other.getData().equals(this.getData()) == false)
                return false;
            if (other.getPartitionKey() == null ^ this.getPartitionKey() == null)
                return false;
            if (other.getPartitionKey() != null && other.getPartitionKey().equals(this.getPartitionKey()) == false)
                return false;
            if (other.getEncryptionType() == null ^ this.getEncryptionType() == null)
                return false;
            if (other.getEncryptionType() != null && other.getEncryptionType().equals(this.getEncryptionType()) == false)
                return false;
            if (other.getKinesisSchemaVersion() == null ^ this.getKinesisSchemaVersion() == null)
                return false;
            if (other.getKinesisSchemaVersion() != null && other.getKinesisSchemaVersion().equals(this.getKinesisSchemaVersion()) == false)
                return false;
            return true;
        }