Class ComplianceSegment

java.lang.Object
com.azure.resourcemanager.security.models.ComplianceSegment

public final class ComplianceSegment extends Object
A segment of a compliance assessment.
  • Constructor Details

    • ComplianceSegment

      public ComplianceSegment()
  • Method Details

    • segmentType

      public String segmentType()
      Get the segmentType property: The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc.
      Returns:
      the segmentType value.
    • percentage

      public Double 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.