AssignedAssessmentItem Class

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

Implements

public final class AssignedAssessmentItem
implements JsonSerializable<AssignedAssessmentItem>

Describe the properties of a security assessment object reference (by key).

Constructor Summary

Constructor Description
AssignedAssessmentItem()

Creates an instance of AssignedAssessmentItem class.

Method Summary

Modifier and Type Method and Description
String assessmentKey()

Get the assessmentKey property: Unique key to a security assessment object.

static AssignedAssessmentItem fromJson(JsonReader jsonReader)

Reads an instance of AssignedAssessmentItem from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AssignedAssessmentItem withAssessmentKey(String assessmentKey)

Set the assessmentKey property: Unique key to a security assessment object.

Methods inherited from java.lang.Object

Constructor Details

AssignedAssessmentItem

public AssignedAssessmentItem()

Creates an instance of AssignedAssessmentItem class.

Method Details

assessmentKey

public String assessmentKey()

Get the assessmentKey property: Unique key to a security assessment object.

Returns:

the assessmentKey value.

fromJson

public static AssignedAssessmentItem fromJson(JsonReader jsonReader)

Reads an instance of AssignedAssessmentItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAssessmentKey

public AssignedAssessmentItem withAssessmentKey(String assessmentKey)

Set the assessmentKey property: Unique key to a security assessment object.

Parameters:

assessmentKey - the assessmentKey value to set.

Returns:

the AssignedAssessmentItem object itself.

Applies to