ComplianceResult Class

  • java.lang.Object
    • com.azure.resourcemanager.appcomplianceautomation.models.ComplianceResult

Implements

public final class ComplianceResult
implements JsonSerializable<ComplianceResult>

A class represent the compliance result.

Method Summary

Modifier and Type Method and Description
List<Category> categories()

Get the categories property: List of categories.

String complianceName()

Get the complianceName property: The name of the compliance.

static ComplianceResult fromJson(JsonReader jsonReader)

Reads an instance of ComplianceResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

categories

public List<Category> categories()

Get the categories property: List of categories.

Returns:

the categories value.

complianceName

public String complianceName()

Get the complianceName property: The name of the compliance. e.g. "M365".

Returns:

the complianceName value.

fromJson

public static ComplianceResult fromJson(JsonReader jsonReader)

Reads an instance of ComplianceResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to