toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FleetState.starting:
      return 'STARTING';
    case FleetState.running:
      return 'RUNNING';
    case FleetState.stopping:
      return 'STOPPING';
    case FleetState.stopped:
      return 'STOPPED';
  }
}