AssessmentStatus Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AssessmentStatus
- com.
Implements
public class AssessmentStatus
implements JsonSerializable<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. |
|
static
Assessment |
fromJson(JsonReader jsonReader)
Reads an instance of Assessment |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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:
fromJson
public static AssessmentStatus fromJson(JsonReader jsonReader)
Reads an instance of AssessmentStatus from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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: