IoTSeverityMetrics Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. IoTSeverityMetrics
- com.
Implements
public final class IoTSeverityMetrics
implements JsonSerializable<IoTSeverityMetrics>
IoT Security solution analytics severity metrics.
Constructor Summary
| Constructor | Description |
|---|---|
| IoTSeverityMetrics() |
Creates an instance of Io |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Io |
fromJson(JsonReader jsonReader)
Reads an instance of Io |
| Long |
high()
Get the high property: Count of high severity alerts/recommendations. |
| Long |
low()
Get the low property: Count of low severity alerts/recommendations. |
| Long |
medium()
Get the medium property: Count of medium severity alerts/recommendations. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Io |
withHigh(Long high)
Set the high property: Count of high severity alerts/recommendations. |
|
Io |
withLow(Long low)
Set the low property: Count of low severity alerts/recommendations. |
|
Io |
withMedium(Long medium)
Set the medium property: Count of medium severity alerts/recommendations. |
Methods inherited from java.lang.Object
Constructor Details
IoTSeverityMetrics
public IoTSeverityMetrics()
Creates an instance of IoTSeverityMetrics class.
Method Details
fromJson
public static IoTSeverityMetrics fromJson(JsonReader jsonReader)
Reads an instance of IoTSeverityMetrics from the JsonReader.
Parameters:
Returns:
Throws:
high
public Long high()
Get the high property: Count of high severity alerts/recommendations.
Returns:
low
public Long low()
Get the low property: Count of low severity alerts/recommendations.
Returns:
medium
public Long medium()
Get the medium property: Count of medium severity alerts/recommendations.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHigh
public IoTSeverityMetrics withHigh(Long high)
Set the high property: Count of high severity alerts/recommendations.
Parameters:
Returns:
withLow
public IoTSeverityMetrics withLow(Long low)
Set the low property: Count of low severity alerts/recommendations.
Parameters:
Returns:
withMedium
public IoTSeverityMetrics withMedium(Long medium)
Set the medium property: Count of medium severity alerts/recommendations.
Parameters:
Returns: