toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ServiceNamespace.autoscaling:
      return 'autoscaling';
    case ServiceNamespace.ecs:
      return 'ecs';
    case ServiceNamespace.ec2:
      return 'ec2';
    case ServiceNamespace.rds:
      return 'rds';
    case ServiceNamespace.dynamodb:
      return 'dynamodb';
  }
}