AssessmentStatusResponse Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AssessmentStatus - com.
azure. resourcemanager. security. models. AssessmentStatusResponse
- com.
- com.
public final class AssessmentStatusResponse
extends AssessmentStatus
The result of the assessment.
Constructor Summary
Constructor | Description |
---|---|
AssessmentStatusResponse() |
Creates an instance of Assessment |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
firstEvaluationDate()
Get the first |
Offset |
statusChangeDate()
Get the status |
void |
validate()
Validates the instance. |
Assessment |
withCause(String cause)
Set the cause property: Programmatic code for the cause of the assessment status. |
Assessment |
withCode(AssessmentStatusCode code)
Set the code property: Programmatic code for the status of the assessment. |
Assessment |
withDescription(String description)
Set the description property: Human readable description of the assessment status. |
Methods inherited from AssessmentStatus
Methods inherited from java.lang.Object
Constructor Details
AssessmentStatusResponse
public AssessmentStatusResponse()
Creates an instance of AssessmentStatusResponse class.
Method Details
firstEvaluationDate
public OffsetDateTime firstEvaluationDate()
Get the firstEvaluationDate property: The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format.
Returns:
statusChangeDate
public OffsetDateTime statusChangeDate()
Get the statusChangeDate property: The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
AssessmentStatusResponse.validate()withCause
public AssessmentStatusResponse withCause(String cause)
Set the cause property: Programmatic code for the cause of the assessment status.
Overrides:
AssessmentStatusResponse.withCause(String cause)Parameters:
withCode
public AssessmentStatusResponse withCode(AssessmentStatusCode code)
Set the code property: Programmatic code for the status of the assessment.
Overrides:
AssessmentStatusResponse.withCode(AssessmentStatusCode code)Parameters:
withDescription
public AssessmentStatusResponse withDescription(String description)
Set the description property: Human readable description of the assessment status.
Overrides:
AssessmentStatusResponse.withDescription(String description)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for