AssessmentStatus Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AssessmentStatus
- com.
public class AssessmentStatus
The result of the assessment.
Constructor Summary
Constructor | Description |
---|---|
AssessmentStatus() |
Creates an instance of Assessment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
cause()
Get the cause property: Programmatic code for the cause of the assessment status. |
Assessment |
code()
Get the code property: Programmatic code for the status of the assessment. |
String |
description()
Get the description property: Human readable description of the assessment 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 java.lang.Object
Constructor Details
AssessmentStatus
public AssessmentStatus()
Creates an instance of AssessmentStatus class.
Method Details
cause
public String cause()
Get the cause property: Programmatic code for the cause of the assessment status.
Returns:
code
public AssessmentStatusCode code()
Get the code property: Programmatic code for the status of the assessment.
Returns:
description
public String description()
Get the description property: Human readable description of the assessment status.
Returns:
validate
public void validate()
Validates the instance.
withCause
public AssessmentStatus withCause(String cause)
Set the cause property: Programmatic code for the cause of the assessment status.
Parameters:
Returns:
withCode
public AssessmentStatus withCode(AssessmentStatusCode code)
Set the code property: Programmatic code for the status of the assessment.
Parameters:
Returns:
withDescription
public AssessmentStatus withDescription(String description)
Set the description property: Human readable description of the assessment status.
Parameters:
Returns:
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