DetectorInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DetectorInfo
- com.
Implements
public final class DetectorInfo
implements JsonSerializable<DetectorInfo>
Definition of Detector.
Constructor Summary
Constructor | Description |
---|---|
DetectorInfo() |
Creates an instance of Detector |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
analysisType()
Get the analysis |
String |
author()
Get the author property: Author of the detector. |
String |
category()
Get the category property: Problem category. |
String |
description()
Get the description property: Short description of the detector and its purpose. |
static
Detector |
fromJson(JsonReader jsonReader)
Reads an instance of Detector |
String |
id()
Get the id property: Id of detector. |
String |
name()
Get the name property: Name of detector. |
Float |
score()
Get the score property: Defines score of a detector to power ML based matching. |
List<Support |
supportTopicList()
Get the support |
Json |
toJson(JsonWriter jsonWriter) |
Detector |
type()
Get the type property: Whether this detector is an Analysis Detector or not. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DetectorInfo
public DetectorInfo()
Creates an instance of DetectorInfo class.
Method Details
analysisType
public List
Get the analysisType property: Analysis Types for which this detector should apply to.
Returns:
author
public String author()
Get the author property: Author of the detector.
Returns:
category
public String category()
Get the category property: Problem category. This serves for organizing group for detectors.
Returns:
description
public String description()
Get the description property: Short description of the detector and its purpose.
Returns:
fromJson
public static DetectorInfo fromJson(JsonReader jsonReader)
Reads an instance of DetectorInfo from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of detector.
Returns:
name
public String name()
Get the name property: Name of detector.
Returns:
score
public Float score()
Get the score property: Defines score of a detector to power ML based matching.
Returns:
supportTopicList
public List
Get the supportTopicList property: List of Support Topics for which this detector is enabled.
Returns:
toJson
type
public DetectorType type()
Get the type property: Whether this detector is an Analysis Detector or not.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java