AlertModificationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. alertsmanagement. fluent. models. AlertModificationInner
- com.
- com.
public final class AlertModificationInner
extends ProxyResource
Alert Modification details.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertModificationInner() |
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: Properties of the alert modification item. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Alert |
withProperties(AlertModificationProperties properties)
Set the properties property: Properties of the alert modification item. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AlertModificationInner
public AlertModificationInner()
Creates an instance of AlertModificationInner class.
Method Details
fromJson
public static AlertModificationInner fromJson(JsonReader jsonReader)
Reads an instance of AlertModificationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AlertModificationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AlertModificationInner.name()Returns:
properties
public AlertModificationProperties properties()
Get the properties property: Properties of the alert modification item.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AlertModificationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AlertModificationInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public AlertModificationInner withProperties(AlertModificationProperties properties)
Set the properties property: Properties of the alert modification item.
Parameters:
Returns: