{
assert builder != null;
if(StringUtils.isEmpty(builder._source))
{
throw new ValidationException(new RequiredAttributeError("Source"));
}
if(builder._type == null)
{
throw new ValidationException(new RequiredAttributeError("Type"));
}
this.name = StringUtils.defaultIfEmpty(builder._name, builder._source);
this.app = StringUtils.defaultIfEmpty(builder._app, "");
this.source = builder._source;