toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.ec2Instance:
      return 'Ec2Instance';
    case ResourceType.autoScalingGroup:
      return 'AutoScalingGroup';
  }
}