Condividi tramite


DetectorInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.DetectorInfo

Implements

public final class DetectorInfo
implements JsonSerializable<DetectorInfo>

Definition of Detector.

Method Summary

Modifier and Type Method and Description
List<String> analysisType()

Get the analysisType property: Analysis Types for which this detector should apply to.

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 DetectorInfo fromJson(JsonReader jsonReader)

Reads an instance of DetectorInfo from the JsonReader.

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<SupportTopic> supportTopicList()

Get the supportTopicList property: List of Support Topics for which this detector is enabled.

JsonWriter toJson(JsonWriter jsonWriter)
DetectorType 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

Method Details

analysisType

public List<String> analysisType()

Get the analysisType property: Analysis Types for which this detector should apply to.

Returns:

the analysisType value.

author

public String author()

Get the author property: Author of the detector.

Returns:

the author value.

category

public String category()

Get the category property: Problem category. This serves for organizing group for detectors.

Returns:

the category value.

description

public String description()

Get the description property: Short description of the detector and its purpose.

Returns:

the description value.

fromJson

public static DetectorInfo fromJson(JsonReader jsonReader)

Reads an instance of DetectorInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DetectorInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DetectorInfo.

id

public String id()

Get the id property: Id of detector.

Returns:

the id value.

name

public String name()

Get the name property: Name of detector.

Returns:

the name value.

score

public Float score()

Get the score property: Defines score of a detector to power ML based matching.

Returns:

the score value.

supportTopicList

public List<SupportTopic> supportTopicList()

Get the supportTopicList property: List of Support Topics for which this detector is enabled.

Returns:

the supportTopicList value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public DetectorType type()

Get the type property: Whether this detector is an Analysis Detector or not.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to