toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InstanceType.blue:
      return 'Blue';
    case InstanceType.green:
      return 'Green';
  }
}