toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RightsizingType.terminate:
      return 'TERMINATE';
    case RightsizingType.modify:
      return 'MODIFY';
  }
}