SubAssessmentStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.SubAssessmentStatus

Implements

public final class SubAssessmentStatus
implements JsonSerializable<SubAssessmentStatus>

Status of the sub-assessment.

Method Summary

Modifier and Type Method and Description
String cause()

Get the cause property: Programmatic code for the cause of the assessment status.

SubAssessmentStatusCode 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 SubAssessmentStatus fromJson(JsonReader jsonReader)

Reads an instance of SubAssessmentStatus from the JsonReader.

Severity severity()

Get the severity property: The sub-assessment severity level.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

cause

public String cause()

Get the cause property: Programmatic code for the cause of the assessment status.

Returns:

the cause value.

code

public SubAssessmentStatusCode code()

Get the code property: Programmatic code for the status of the assessment.

Returns:

the code value.

description

public String description()

Get the description property: Human readable description of the assessment status.

Returns:

the description value.

fromJson

public static SubAssessmentStatus fromJson(JsonReader jsonReader)

Reads an instance of SubAssessmentStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SubAssessmentStatus if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SubAssessmentStatus.

severity

public Severity severity()

Get the severity property: The sub-assessment severity level.

Returns:

the severity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to