toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ScaleDownBehavior.terminateAtInstanceHour:
      return 'TERMINATE_AT_INSTANCE_HOUR';
    case ScaleDownBehavior.terminateAtTaskCompletion:
      return 'TERMINATE_AT_TASK_COMPLETION';
  }
}