toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InstanceGroupType.master:
      return 'MASTER';
    case InstanceGroupType.core:
      return 'CORE';
    case InstanceGroupType.task:
      return 'TASK';
  }
}