Class ComplianceDetail

java.lang.Object
com.azure.resourcemanager.policyinsights.models.ComplianceDetail

public final class ComplianceDetail extends Object
The compliance state rollup.
  • Constructor Details

    • ComplianceDetail

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

    • complianceState

      public String complianceState()
      Get the complianceState property: The compliance state.
      Returns:
      the complianceState value.
    • withComplianceState

      public ComplianceDetail withComplianceState(String complianceState)
      Set the complianceState property: The compliance state.
      Parameters:
      complianceState - the complianceState value to set.
      Returns:
      the ComplianceDetail object itself.
    • count

      public Integer count()
      Get the count property: Summarized count value for this compliance state.
      Returns:
      the count value.
    • withCount

      public ComplianceDetail withCount(Integer count)
      Set the count property: Summarized count value for this compliance state.
      Parameters:
      count - the count value to set.
      Returns:
      the ComplianceDetail object itself.
    • validate

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