I have AWS API gateway command like this - aws cloudwatch get-metric-statistics --metric-name CPUUtilization --start-time 2018-03-08T23:18:00Z --end-time 2018-03-09T23:18:00Z --period 3600 --namespace AWS/EC2 --statistics Maximum --dimensions Name=InstanceId,Value=i-036d43a37cdeaa8e5 , but we can't mentioned more than one metric in single command so what is the logic which I can used in java.