Class AssessmentStatusResponse
java.lang.Object
com.azure.resourcemanager.security.models.AssessmentStatus
com.azure.resourcemanager.security.models.AssessmentStatusResponse
The result of the assessment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the firstEvaluationDate property: The time that the assessment was created and first evaluated.Get the statusChangeDate property: The time that the status of the assessment last changed.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.Methods inherited from class com.azure.resourcemanager.security.models.AssessmentStatus
cause, code, description
-
Constructor Details
-
AssessmentStatusResponse
public AssessmentStatusResponse()
-
-
Method Details
-
firstEvaluationDate
Get the firstEvaluationDate property: The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format.- Returns:
- the firstEvaluationDate value.
-
statusChangeDate
Get the statusChangeDate property: The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format.- Returns:
- the statusChangeDate value.
-
withCode
Set the code property: Programmatic code for the status of the assessment.- Overrides:
withCode
in classAssessmentStatus
- Parameters:
code
- the code value to set.- Returns:
- the AssessmentStatus object itself.
-
withCause
Set the cause property: Programmatic code for the cause of the assessment status.- Overrides:
withCause
in classAssessmentStatus
- Parameters:
cause
- the cause value to set.- Returns:
- the AssessmentStatus object itself.
-
withDescription
Set the description property: Human readable description of the assessment status.- Overrides:
withDescription
in classAssessmentStatus
- Parameters:
description
- the description value to set.- Returns:
- the AssessmentStatus object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAssessmentStatus
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-