Class AssessmentStatus
java.lang.Object
com.azure.resourcemanager.security.models.AssessmentStatus
- Direct Known Subclasses:
AssessmentStatusResponse
The result of the assessment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncause()
Get the cause property: Programmatic code for the cause of the assessment status.code()
Get the code property: Programmatic code for the status of the assessment.Get the description property: Human readable description of the assessment status.void
validate()
Validates the instance.Set the cause property: Programmatic code for the cause of the assessment status.withCode
(AssessmentStatusCode code) Set the code property: Programmatic code for the status of the assessment.withDescription
(String description) Set the description property: Human readable description of the assessment status.
-
Constructor Details
-
AssessmentStatus
public AssessmentStatus()
-
-
Method Details
-
code
Get the code property: Programmatic code for the status of the assessment.- Returns:
- the code value.
-
withCode
Set the code property: Programmatic code for the status of the assessment.- Parameters:
code
- the code value to set.- Returns:
- the AssessmentStatus object itself.
-
cause
Get the cause property: Programmatic code for the cause of the assessment status.- Returns:
- the cause value.
-
withCause
Set the cause property: Programmatic code for the cause of the assessment status.- Parameters:
cause
- the cause value to set.- Returns:
- the AssessmentStatus object itself.
-
description
Get the description property: Human readable description of the assessment status.- Returns:
- the description value.
-
withDescription
Set the description property: Human readable description of the assessment status.- Parameters:
description
- the description value to set.- Returns:
- the AssessmentStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-