public boolean equals()

in src/main/java/com/amazonaws/services/cloudtrail/processinglibrary/model/CloudTrailLog.java [116:137]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        CloudTrailLog other = (CloudTrailLog) obj;
        if (logFileSize != other.logFileSize)
            return false;
        if (s3Bucket == null) {
            if (other.s3Bucket != null)
                return false;
        } else if (!s3Bucket.equals(other.s3Bucket))
            return false;
        if (s3ObjectKey == null) {
            if (other.s3ObjectKey != null)
                return false;
        } else if (!s3ObjectKey.equals(other.s3ObjectKey))
            return false;
        return true;
    }