toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceCountGroupKey.resourceType:
      return 'RESOURCE_TYPE';
    case ResourceCountGroupKey.accountId:
      return 'ACCOUNT_ID';
    case ResourceCountGroupKey.awsRegion:
      return 'AWS_REGION';
  }
}