how to execute AWS CLI commands from Java code?
How can I execute the following from Java code to get the S3 bucket size
aws s3api list-objects --bucket BUCKETNAME --output json --query "[sum(Contents[].Size), length(Contents[])]"