O'Reilly logo

Amazon S3 Essentials by Sunil Gulabani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. S3 using AWS SDK – Java (Part 2)

In the previous chapter, you learned the basic operations for buckets, folders, and objects using the Amazon SDK Java. Now we will discuss some more operations other than add, update, delete, and get. In this chapter, we will cover the following topics:

  • Copying objects from one bucket to another using different methods
  • Managing the lifecycle of a bucket
  • Cross-origin resource sharing

Let's see how to can manage Amazon S3 using Amazon SDK—Java.

Copying objects

Amazon S3 SDK provides a copy object functionality that allows you to copy Amazon S3 objects from one bucket to another. For this, you have to define the source bucket name, source object key, destination bucket name, and the destination object key. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required