StandardAssignmentPropertiesExemptionData Class

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

Implements

public final class StandardAssignmentPropertiesExemptionData
implements JsonSerializable<StandardAssignmentPropertiesExemptionData>

Additional data about assignment that has Exempt effect.

Constructor Summary

Constructor Description
StandardAssignmentPropertiesExemptionData()

Creates an instance of StandardAssignmentPropertiesExemptionData class.

Method Summary

Modifier and Type Method and Description
AssignedAssessmentItem assignedAssessment()

Get the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

ExemptionCategory exemptionCategory()

Get the exemptionCategory property: Exemption category of this assignment.

static StandardAssignmentPropertiesExemptionData fromJson(JsonReader jsonReader)

Reads an instance of StandardAssignmentPropertiesExemptionData from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StandardAssignmentPropertiesExemptionData withAssignedAssessment(AssignedAssessmentItem assignedAssessment)

Set the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

StandardAssignmentPropertiesExemptionData withExemptionCategory(ExemptionCategory exemptionCategory)

Set the exemptionCategory property: Exemption category of this assignment.

Methods inherited from java.lang.Object

Constructor Details

StandardAssignmentPropertiesExemptionData

public StandardAssignmentPropertiesExemptionData()

Creates an instance of StandardAssignmentPropertiesExemptionData class.

Method Details

assignedAssessment

public AssignedAssessmentItem assignedAssessment()

Get the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

Returns:

the assignedAssessment value.

exemptionCategory

public ExemptionCategory exemptionCategory()

Get the exemptionCategory property: Exemption category of this assignment.

Returns:

the exemptionCategory value.

fromJson

public static StandardAssignmentPropertiesExemptionData fromJson(JsonReader jsonReader)

Reads an instance of StandardAssignmentPropertiesExemptionData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StandardAssignmentPropertiesExemptionData 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 StandardAssignmentPropertiesExemptionData.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAssignedAssessment

public StandardAssignmentPropertiesExemptionData withAssignedAssessment(AssignedAssessmentItem assignedAssessment)

Set the assignedAssessment property: Component item with key as applied to this standard assignment over the given scope.

Parameters:

assignedAssessment - the assignedAssessment value to set.

Returns:

the StandardAssignmentPropertiesExemptionData object itself.

withExemptionCategory

public StandardAssignmentPropertiesExemptionData withExemptionCategory(ExemptionCategory exemptionCategory)

Set the exemptionCategory property: Exemption category of this assignment.

Parameters:

exemptionCategory - the exemptionCategory value to set.

Returns:

the StandardAssignmentPropertiesExemptionData object itself.

Applies to