Class ComplianceDetail
java.lang.Object
com.azure.resourcemanager.policyinsights.models.ComplianceDetail
The compliance state rollup.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the complianceState property: The compliance state.count()
Get the count property: Summarized count value for this compliance state.void
validate()
Validates the instance.withComplianceState
(String complianceState) Set the complianceState property: The compliance state.Set the count property: Summarized count value for this compliance state.
-
Constructor Details
-
ComplianceDetail
public ComplianceDetail()Creates an instance of ComplianceDetail class.
-
-
Method Details
-
complianceState
Get the complianceState property: The compliance state.- Returns:
- the complianceState value.
-
withComplianceState
Set the complianceState property: The compliance state.- Parameters:
complianceState
- the complianceState value to set.- Returns:
- the ComplianceDetail object itself.
-
count
Get the count property: Summarized count value for this compliance state.- Returns:
- the count value.
-
withCount
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.
-