toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ScalingStatusType.active:
      return 'ACTIVE';
    case ScalingStatusType.updateRequested:
      return 'UPDATE_REQUESTED';
    case ScalingStatusType.updating:
      return 'UPDATING';
    case ScalingStatusType.deleteRequested:
      return 'DELETE_REQUESTED';
    case ScalingStatusType.deleting:
      return 'DELETING';
    case ScalingStatusType.deleted:
      return 'DELETED';
    case ScalingStatusType.error:
      return 'ERROR';
  }
}