toResourceCountGroupKey method
Implementation
ResourceCountGroupKey toResourceCountGroupKey() {
switch (this) {
case 'RESOURCE_TYPE':
return ResourceCountGroupKey.resourceType;
case 'ACCOUNT_ID':
return ResourceCountGroupKey.accountId;
case 'AWS_REGION':
return ResourceCountGroupKey.awsRegion;
}
throw Exception('$this is not known in enum ResourceCountGroupKey');
}