I am in Europe. How do I set the Region to EU (ireland) when using AmazonS3Client to co开发者_开发技巧py files?
The Amazon S3 Region enum is very helpful for looking up the different Amazon S3 endpoints: http://docs.amazonwebservices.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/Region.html
After you find the right endpoint for EU, just call setEndpoint on your AmazonS3 client object.
精彩评论