From the course: AWS for Developers: S3
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Java: Basic setup - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: S3
Java: Basic setup
- For a Java example, we will operate much like we did with the Python example. A series of functions to show off parts of the STK. We will do so using a simple Java script. This is by no means how a Java program is usually written or structured, but for this example it will serve its purpose. So I'm going to create a new project and I'm going to use Maven, that way it will handle my dependencies. And I'm going to name my project "javas3" and I'm going to store it where I put all of my code. Now I'm going to open up my Artifact Coordinates and I'm going to put in some values here that make sense for me, so com.frankmoley.lil.s3. Leave the artifact name the way it is. And hit "Finish." So our pom file's opened up. And we're going to add a dependency section. We'll add our first dependency, and that dependency is going to be s3 and s3 comes from software.amazon.awssdk. And the version that we're going to use is the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Java: Basic setup4m 15s
-
(Locked)
Creating a bucket4m 45s
-
(Locked)
Binary object manipulation4m 38s
-
(Locked)
Bucket manipulation4m 37s
-
(Locked)
Bucket and file security2m 59s
-
(Locked)
Presigning URLs4m 40s
-
(Locked)
Deleting a bucket1m 58s
-
(Locked)
Challenge: Java SDK operations50s
-
(Locked)
Solution: Java SDK operations2m 15s
-
(Locked)
-