public void setSourceType(SourceType sourceType) {
    this.sourceType = sourceType;
  }
Sets the type of alert.

@param sourceType
         the sourceType to set
ambari-server/src/main/java/org/apache/ambari/server/controller/AlertDefinitionResponse.java