DetectorDefinitionResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. DetectorDefinitionResourceInner
- com.
- com.
- com.
public final class DetectorDefinitionResourceInner
extends ProxyOnlyResource
ARM resource for a detector definition.
Constructor Summary
Constructor | Description |
---|---|
DetectorDefinitionResourceInner() |
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 |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
isEnabled()
Get the is |
String |
name()
Get the name property: The name of the resource. |
Double |
rank()
Get the rank property: Detector Rank. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Detector |
withKind(String kind)
Set the kind property: Kind of resource. |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
DetectorDefinitionResourceInner
public DetectorDefinitionResourceInner()
Creates an instance of DetectorDefinitionResourceInner 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 DetectorDefinitionResourceInner fromJson(JsonReader jsonReader)
Reads an instance of DetectorDefinitionResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DetectorDefinitionResourceInner.id()Returns:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Flag representing whether detector is enabled or not.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DetectorDefinitionResourceInner.name()Returns:
rank
public Double rank()
Get the rank property: Detector Rank.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DetectorDefinitionResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DetectorDefinitionResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DetectorDefinitionResourceInner.validate()withKind
public DetectorDefinitionResourceInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
DetectorDefinitionResourceInner.withKind(String kind)Parameters:
Applies to
Azure SDK for Java