Class ComplianceReportItem

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

public final class ComplianceReportItem extends Object
Object that includes all the content for single compliance result.
  • Constructor Details

    • ComplianceReportItem

      public ComplianceReportItem()
      Creates an instance of ComplianceReportItem class.
  • Method Details

    • categoryName

      public String categoryName()
      Get the categoryName property: The category name.
      Returns:
      the categoryName 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.
    • controlType

      public ControlType controlType()
      Get the controlType property: The control type.
      Returns:
      the controlType value.
    • complianceState

      public ComplianceState complianceState()
      Get the complianceState property: The compliance result's status.
      Returns:
      the complianceState value.
    • policyId

      public String policyId()
      Get the policyId property: The compliance result mapped policy Id.
      Returns:
      the policyId value.
    • policyDisplayName

      public String policyDisplayName()
      Get the policyDisplayName property: The policy's display name.
      Returns:
      the policyDisplayName value.
    • policyDescription

      public String policyDescription()
      Get the policyDescription property: The policy's detail description.
      Returns:
      the policyDescription value.
    • subscriptionId

      public String subscriptionId()
      Get the subscriptionId property: The compliance result mapped subscription Id.
      Returns:
      the subscriptionId value.
    • resourceGroup

      public String resourceGroup()
      Get the resourceGroup property: The compliance result mapped resource group.
      Returns:
      the resourceGroup value.
    • resourceType

      public String resourceType()
      Get the resourceType property: The compliance result mapped resource type.
      Returns:
      the resourceType value.
    • resourceId

      public String resourceId()
      Get the resourceId property: The compliance result mapped resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute" + "/virtualMachines/vm1".
      Returns:
      the resourceId value.
    • statusChangeDate

      public String statusChangeDate()
      Get the statusChangeDate property: The compliance result last changed date - e.g. "2022-10-24T02:55:16.3274379Z". For unavailable date, set it as "N/A".
      Returns:
      the statusChangeDate value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.