toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TargetTypeEnum.instance:
      return 'instance';
    case TargetTypeEnum.ip:
      return 'ip';
    case TargetTypeEnum.lambda:
      return 'lambda';
  }
}