HealthDataClassification Class

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

Implements

public final class HealthDataClassification
implements JsonSerializable<HealthDataClassification>

The classification of the health report.

Method Summary

Modifier and Type Method and Description
String component()

Get the component property: The component describes the name of the agent/service that scans the issue.

static HealthDataClassification fromJson(JsonReader jsonReader)

Reads an instance of HealthDataClassification from the JsonReader.

String scenario()

Get the scenario property: The scenario describes the health scenario issue of the component.

String scope()

Get the scope property: The resource scope of the health report.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

component

public String component()

Get the component property: The component describes the name of the agent/service that scans the issue.

Returns:

the component value.

fromJson

public static HealthDataClassification fromJson(JsonReader jsonReader)

Reads an instance of HealthDataClassification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

scenario

public String scenario()

Get the scenario property: The scenario describes the health scenario issue of the component.

Returns:

the scenario value.

scope

public String scope()

Get the scope property: The resource scope of the health report.

Returns:

the scope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to