host
);
}
public static Properties toS3(String accessKeyId, String awsSecretKey, String defaultLocation, String host) {
PropertiesImpl s3 = new PropertiesImpl();
if(!StringUtil.isEmpty(accessKeyId))s3.setAccessKeyId(accessKeyId);
if(!StringUtil.isEmpty(awsSecretKey))s3.setSecretAccessKey(awsSecretKey);
if(!StringUtil.isEmpty(defaultLocation))s3.setDefaultLocation(defaultLocation);
if(!StringUtil.isEmpty(host))s3.setHost(host);
return s3;
}