I am using following code to get the Cost usage data from AWS.
GetCostAndUsageRequest request = new GetCostAndUsageRequest(); DateInterval interval = new Date