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
This worked for me.
AmazonS3 s3Client = AmazonS3ClientBuilder.standard().withCredentials(new ProfileCredentialsProvider()).withRegion(Regions.AP_SOUTH_1).build();