*
* @param prop properties to configure @link {@link AmazonS3Client}
* @return {@link AmazonS3Client}
*/
public static AmazonS3Client openService(final Properties prop) {
AWSCredentials credentials = new BasicAWSCredentials(
prop.getProperty(S3Constants.ACCESS_KEY),
prop.getProperty(S3Constants.SECRET_KEY));
int connectionTimeOut = Integer.parseInt(prop.getProperty("connectionTimeout"));
int socketTimeOut = Integer.parseInt(prop.getProperty("socketTimeout"));
int maxConnections = Integer.parseInt(prop.getProperty("maxConnections"));