@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        S3ObjectsImage that = (S3ObjectsImage) o;
        return this.nextAssignedObjectId == that.nextAssignedObjectId && objects().equals(that.objects());
    }
Represents the S3 objects in the metadata image.
<p>
This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/S3ObjectsImage.java