Class S3Utils
- java.lang.Object
-
- org.craftercms.commons.file.stores.S3Utils
-
public class S3Utils extends Object
Utility methods for S3.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description S3Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.amazonaws.services.s3.AmazonS3
createClient(AbstractAwsProfile profile)
static com.amazonaws.services.s3.AmazonS3
createClient(AbstractAwsProfile profile, boolean useCustomEndpoint)
Creates anAmazonS3
based on the given profile config.
-
-
-
Method Detail
-
createClient
public static final com.amazonaws.services.s3.AmazonS3 createClient(AbstractAwsProfile profile, boolean useCustomEndpoint)
Creates anAmazonS3
based on the given profile config.- Parameters:
profile
- the configuration profile- Returns:
- a client to an Amazon S3 account
-
createClient
public static final com.amazonaws.services.s3.AmazonS3 createClient(AbstractAwsProfile profile)
-
-