Class ComplianceSegment
java.lang.Object
com.azure.resourcemanager.security.models.ComplianceSegment
A segment of a compliance assessment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the percentage property: The size (%) of the segment.Get the segmentType property: The segment type, e.g.void
validate()
Validates the instance.
-
Constructor Details
-
ComplianceSegment
public ComplianceSegment()
-
-
Method Details
-
segmentType
Get the segmentType property: The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc.- Returns:
- the segmentType value.
-
percentage
Get the percentage property: The size (%) of the segment.- Returns:
- the percentage value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-