I have gone through the question titled \"Setting the AWS region programmatically 1\" but it doesn\'t provide all the answers I need.
Q1: I\'m getting a SDKCli
SDKCli
Regarding Q1, try to build your client using the following syntax:
AmazonS3 amazonS3 = AmazonS3Client.builder() .withRegion("us-east-1") .withCredentials(new AWSStaticCredentialsProvider(creds)) .build();