Class AssessmentStatusResponse

java.lang.Object
com.azure.resourcemanager.security.models.AssessmentStatus
com.azure.resourcemanager.security.models.AssessmentStatusResponse

public final class AssessmentStatusResponse extends AssessmentStatus
The result of the assessment.
  • Constructor Details

    • AssessmentStatusResponse

      public AssessmentStatusResponse()
  • 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:
      the firstEvaluationDate value.
    • 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:
      the statusChangeDate value.
    • withCode

      Set the code property: Programmatic code for the status of the assessment.
      Overrides:
      withCode in class AssessmentStatus
      Parameters:
      code - the code value to set.
      Returns:
      the AssessmentStatus object itself.
    • withCause

      public AssessmentStatusResponse withCause(String cause)
      Set the cause property: Programmatic code for the cause of the assessment status.
      Overrides:
      withCause in class AssessmentStatus
      Parameters:
      cause - the cause value to set.
      Returns:
      the AssessmentStatus object itself.
    • withDescription

      public AssessmentStatusResponse withDescription(String description)
      Set the description property: Human readable description of the assessment status.
      Overrides:
      withDescription in class AssessmentStatus
      Parameters:
      description - the description value to set.
      Returns:
      the AssessmentStatus object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AssessmentStatus
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.