ComplianceSegment Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ComplianceSegment
- com.
Implements
public final class ComplianceSegment
implements JsonSerializable<ComplianceSegment>
A segment of a compliance assessment.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Compliance |
fromJson(JsonReader jsonReader)
Reads an instance of Compliance |
| Double |
percentage()
Get the percentage property: The size (%) of the segment. |
| String |
segmentType()
Get the segment |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ComplianceSegment fromJson(JsonReader jsonReader)
Reads an instance of ComplianceSegment from the JsonReader.
Parameters:
Returns:
Throws:
percentage
public Double percentage()
Get the percentage property: The size (%) of the segment.
Returns:
segmentType
public String segmentType()
Get the segmentType property: The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc.
Returns:
toJson
validate
public void validate()
Validates the instance.