public void setSuspended(boolean suspended) {
    this.suspended = suspended ? (short) 1 : (short) 0;
  }
Sets whether the upgrade is suspended.

@param suspended
         {@code true} to mark the upgrade as suspended.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java