public CDR2Media build() {
            if(this.contentType == null) throw new IllegalStateException("content_type can not be null");
            if(this.timestamp == -1) throw new IllegalStateException("timestamp needs to be set");
            if(this.crawler == null) throw new IllegalStateException("crawler can not be null");
            if(this.objParent == null) throw new IllegalStateException("obj_parent can not be null");
            if(this.objOriginalUrl == null) throw new IllegalStateException("obj_original_url can not be null");
            if(this.objStoredUrl == null) throw new IllegalStateException("obj_stored_url can not be null");
            if(this.team == null) throw new IllegalStateException("team can not be null");
            if(this.version == null) throw new IllegalStateException("version can not be null");
            if(this.id == null) this.id = generateId();
            return new CDR2Media(this);
        }
Use {@link CDR2Media.Builder} to construct a CDRMedia object instead.
ache-tools/src/main/java/achecrawler/memex/cdr/CDR2Media.java