Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BasicAWSCredentials credentials = new BasicAWSCredentials("", "");
- ClientConfiguration clientConfig = new ClientConfiguration();
- clientConfig.setProtocol(Protocol.HTTP);
- AmazonS3 conn = new AmazonS3Client(credentials, clientConfig);
- conn.setEndpoint("localhost:8080");
- Bucket bucket = conn.createBucket("my-new-bucket");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement