public MaintenanceState getMaintenanceState() {
    return m_state;
  }
Gets the new maintenance state for the service/host/component.

@return the new maintenance state (never {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/events/MaintenanceModeEvent.java