toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GameServerInstanceStatus.active:
      return 'ACTIVE';
    case GameServerInstanceStatus.draining:
      return 'DRAINING';
    case GameServerInstanceStatus.spotTerminating:
      return 'SPOT_TERMINATING';
  }
}