Create a bucket


Example: Create a Bucket in a system using the s3Client.createBucket() method

AmazonS3 s3Client = new AmazonS3Client();
s3Client.setEndpoint("https://systemname.example.com");

s3Client.createBucket("sample"); 1

1 The name of the Bucket to be created.