final String vendorKey = getVendorKey();
final String username = getUsername();
final String password = getPassword();
// it is OK if some of these are null, because the builder asserts valid configuration.
return new YailProfileBuilder(appName)
.usingApiKey(apiKey)
.usingVendorKey(vendorKey, username, password)
.atLocation(location)
.build();
}