Class Assessment
java.lang.Object
com.azure.resourcemanager.appcomplianceautomation.models.Assessment
A class represent the assessment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the assessment.isPass()
Get the isPass property: Indicates whether all the resource(s) are compliant.name()
Get the name property: The name of the assessment.policyId()
Get the policyId property: The policy id mapping to this assessment.Get the remediation property: The remediation of the assessment.Get the resourceList property: List of resource assessments.severity()
Get the severity property: The severity level of this assessment.void
validate()
Validates the instance.
-
Constructor Details
-
Assessment
public Assessment()Creates an instance of Assessment class.
-
-
Method Details
-
name
Get the name property: The name of the assessment.- Returns:
- the name value.
-
severity
Get the severity property: The severity level of this assessment.- Returns:
- the severity value.
-
description
Get the description property: The description of the assessment.- Returns:
- the description value.
-
remediation
Get the remediation property: The remediation of the assessment.- Returns:
- the remediation value.
-
isPass
Get the isPass property: Indicates whether all the resource(s) are compliant.- Returns:
- the isPass value.
-
policyId
Get the policyId property: The policy id mapping to this assessment.- Returns:
- the policyId value.
-
resourceList
Get the resourceList property: List of resource assessments.- Returns:
- the resourceList value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-