IoTSecurityDeviceAlert Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.IoTSecurityDeviceAlert

Implements

public final class IoTSecurityDeviceAlert
implements JsonSerializable<IoTSecurityDeviceAlert>

Statistical information about the number of alerts per alert type during last set number of days.

Method Summary

Modifier and Type Method and Description
String alertDisplayName()

Get the alertDisplayName property: Display name of the alert.

Long alertsCount()

Get the alertsCount property: Number of alerts raised for this alert type.

static IoTSecurityDeviceAlert fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityDeviceAlert from the JsonReader.

ReportedSeverity reportedSeverity()

Get the reportedSeverity property: Assessed Alert severity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

alertDisplayName

public String alertDisplayName()

Get the alertDisplayName property: Display name of the alert.

Returns:

the alertDisplayName value.

alertsCount

public Long alertsCount()

Get the alertsCount property: Number of alerts raised for this alert type.

Returns:

the alertsCount value.

fromJson

public static IoTSecurityDeviceAlert fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityDeviceAlert from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IoTSecurityDeviceAlert 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 IoTSecurityDeviceAlert.

reportedSeverity

public ReportedSeverity reportedSeverity()

Get the reportedSeverity property: Assessed Alert severity.

Returns:

the reportedSeverity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to