ComplianceReportItem Class

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

Implements

public final class ComplianceReportItem
implements JsonSerializable<ComplianceReportItem>

Object that includes all the content for single compliance result.

Method Summary

Modifier and Type Method and Description
String categoryName()

Get the categoryName property: The category name.

String controlFamilyName()

Get the controlFamilyName property: The control family name.

String controlId()

Get the controlId property: The control Id - e.g.

String controlName()

Get the controlName property: The control name.

ControlStatus controlStatus()

Get the controlStatus property: Control status.

static ComplianceReportItem fromJson(JsonReader jsonReader)

Reads an instance of ComplianceReportItem from the JsonReader.

String resourceId()

Get the resourceId property: The Id of the resource.

ResourceOrigin resourceOrigin()

Get the resourceOrigin property: Resource origin.

ResourceStatus resourceStatus()

Get the resourceStatus property: Resource status.

OffsetDateTime resourceStatusChangeDate()

Get the resourceStatusChangeDate property: The status change date for the resource.

String resourceType()

Get the resourceType property: The type of the resource.

String responsibilityDescription()

Get the responsibilityDescription property: The description of the customer responsibility.

String responsibilityTitle()

Get the responsibilityTitle property: The title of the customer responsibility.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

categoryName

public String categoryName()

Get the categoryName property: The category name.

Returns:

the categoryName value.

controlFamilyName

public String controlFamilyName()

Get the controlFamilyName property: The control family name.

Returns:

the controlFamilyName value.

controlId

public String controlId()

Get the controlId property: The control Id - e.g. "1".

Returns:

the controlId value.

controlName

public String controlName()

Get the controlName property: The control name.

Returns:

the controlName value.

controlStatus

public ControlStatus controlStatus()

Get the controlStatus property: Control status.

Returns:

the controlStatus value.

fromJson

public static ComplianceReportItem fromJson(JsonReader jsonReader)

Reads an instance of ComplianceReportItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceId

public String resourceId()

Get the resourceId property: The Id of the resource.

Returns:

the resourceId value.

resourceOrigin

public ResourceOrigin resourceOrigin()

Get the resourceOrigin property: Resource origin.

Returns:

the resourceOrigin value.

resourceStatus

public ResourceStatus resourceStatus()

Get the resourceStatus property: Resource status.

Returns:

the resourceStatus value.

resourceStatusChangeDate

public OffsetDateTime resourceStatusChangeDate()

Get the resourceStatusChangeDate property: The status change date for the resource.

Returns:

the resourceStatusChangeDate value.

resourceType

public String resourceType()

Get the resourceType property: The type of the resource. e.g. "Microsoft.SignalRService/SignalR".

Returns:

the resourceType value.

responsibilityDescription

public String responsibilityDescription()

Get the responsibilityDescription property: The description of the customer responsibility.

Returns:

the responsibilityDescription value.

responsibilityTitle

public String responsibilityTitle()

Get the responsibilityTitle property: The title of the customer responsibility.

Returns:

the responsibilityTitle value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to