Database toHiveDb() {
    Database hiveDB = new Database();
    hiveDB.setDescription(this.comment);
    hiveDB.setLocationUri(this.locationUri);
    hiveDB.setName(this.dbName);
    hiveDB.setParameters(this.dbProperties);
    return hiveDB;
  }
Creates the builder for defining attributes.

@param dbName the db name
@return the builder
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatCreateDBDesc.java