DetectorDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. DetectorDefinition
- com.
Implements
public final class DetectorDefinition
implements JsonSerializable<DetectorDefinition>
Class representing detector definition.
Constructor Summary
Constructor | Description |
---|---|
DetectorDefinition() |
Creates an instance of Detector |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of the detector. |
String |
displayName()
Get the display |
static
Detector |
fromJson(JsonReader jsonReader)
Reads an instance of Detector |
Boolean |
isEnabled()
Get the is |
Double |
rank()
Get the rank property: Detector Rank. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DetectorDefinition
public DetectorDefinition()
Creates an instance of DetectorDefinition class.
Method Details
description
public String description()
Get the description property: Description of the detector.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of the detector.
Returns:
fromJson
public static DetectorDefinition fromJson(JsonReader jsonReader)
Reads an instance of DetectorDefinition from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Flag representing whether detector is enabled or not.
Returns:
rank
public Double rank()
Get the rank property: Detector Rank.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java