Class AssessmentStatus

java.lang.Object
com.azure.resourcemanager.security.models.AssessmentStatus
Direct Known Subclasses:
AssessmentStatusResponse

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

    • AssessmentStatus

      public AssessmentStatus()
  • Method Details

    • code

      public AssessmentStatusCode code()
      Get the code property: Programmatic code for the status of the assessment.
      Returns:
      the code value.
    • withCode

      public AssessmentStatus withCode(AssessmentStatusCode code)
      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

      public String cause()
      Get the cause property: Programmatic code for the cause of the assessment status.
      Returns:
      the cause value.
    • withCause

      public AssessmentStatus withCause(String cause)
      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

      public String description()
      Get the description property: Human readable description of the assessment status.
      Returns:
      the description value.
    • withDescription

      public AssessmentStatus withDescription(String description)
      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.