IoTSecurityDeviceRecommendation Class

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

Implements

public final class IoTSecurityDeviceRecommendation
implements JsonSerializable<IoTSecurityDeviceRecommendation>

Statistical information about the number of recommendations per device, per recommendation type.

Constructor Summary

Constructor Description
IoTSecurityDeviceRecommendation()

Creates an instance of IoTSecurityDeviceRecommendation class.

Method Summary

Modifier and Type Method and Description
Long devicesCount()

Get the devicesCount property: Number of devices with this recommendation.

static IoTSecurityDeviceRecommendation fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityDeviceRecommendation from the JsonReader.

String recommendationDisplayName()

Get the recommendationDisplayName property: Display name of the recommendation.

ReportedSeverity reportedSeverity()

Get the reportedSeverity property: Assessed recommendation severity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

IoTSecurityDeviceRecommendation

public IoTSecurityDeviceRecommendation()

Creates an instance of IoTSecurityDeviceRecommendation class.

Method Details

devicesCount

public Long devicesCount()

Get the devicesCount property: Number of devices with this recommendation.

Returns:

the devicesCount value.

fromJson

public static IoTSecurityDeviceRecommendation fromJson(JsonReader jsonReader)

Reads an instance of IoTSecurityDeviceRecommendation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

recommendationDisplayName

public String recommendationDisplayName()

Get the recommendationDisplayName property: Display name of the recommendation.

Returns:

the recommendationDisplayName value.

reportedSeverity

public ReportedSeverity reportedSeverity()

Get the reportedSeverity property: Assessed recommendation severity.

Returns:

the reportedSeverity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to