Changes in working with Amazon S3 from version 1 to version 2 of the Amazon SDK for Java - Amazon SDK for Java 2.x
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Changes in working with Amazon S3 from version 1 to version 2 of the Amazon SDK for Java

The Amazon SDK for Java 2.x introduces significant changes to the S3 client, including a new package structure, updated class names, and revised method signatures. While many methods can be automatically migrated from V1 to V2 using the migration tool, some require manual migration, such as listNextBatchOfObjects and selectObjectContent. Additionally, V2 replaces certain V1 classes like AccessControlList and CannedAccessControlList with new implementations.