AssessmentStatus Class

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

public class AssessmentStatus

The result of the assessment.

Constructor Summary

Constructor Description
AssessmentStatus()

Creates an instance of AssessmentStatus class.

Method Summary

Modifier and Type Method and Description
String cause()

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

AssessmentStatusCode 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.

AssessmentStatus withCause(String cause)

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

AssessmentStatus withCode(AssessmentStatusCode code)

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

AssessmentStatus 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:

the cause value.

code

public AssessmentStatusCode 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.

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:

cause - the cause value to set.

Returns:

the AssessmentStatus object itself.

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.

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.

Applies to