AlertInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. alertsmanagement. fluent. models. AlertInner
- com.
- com.
public final class AlertInner
extends ProxyResource
An alert created in alert management service.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertInner() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Alert |
properties()
Get the properties property: Alert property bag. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Alert |
withProperties(AlertProperties properties)
Set the properties property: Alert property bag. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AlertInner
public AlertInner()
Creates an instance of AlertInner class.
Method Details
fromJson
public static AlertInner fromJson(JsonReader jsonReader)
Reads an instance of AlertInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AlertInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AlertInner.name()Returns:
properties
public AlertProperties properties()
Get the properties property: Alert property bag.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AlertInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AlertInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public AlertInner withProperties(AlertProperties properties)
Set the properties property: Alert property bag.
Parameters:
Returns: