Class ComplianceDetail
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.ComplianceDetail
-
public final class ComplianceDetail extends Object
The compliance state rollup.
-
-
Constructor Summary
Constructors Constructor Description ComplianceDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
complianceState()
Get the complianceState property: The compliance state.Integer
count()
Get the count property: Summarized count value for this compliance state.void
validate()
Validates the instance.ComplianceDetail
withComplianceState(String complianceState)
Set the complianceState property: The compliance state.ComplianceDetail
withCount(Integer count)
Set the count property: Summarized count value for this compliance state.
-
-
-
Method Detail
-
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.
-
-