PartialAssessmentProperties Class

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

Implements

public final class PartialAssessmentProperties
implements JsonSerializable<PartialAssessmentProperties>

Describes properties of an assessment as related to the standard.

Constructor Summary

Constructor Description
PartialAssessmentProperties()

Creates an instance of PartialAssessmentProperties class.

Method Summary

Modifier and Type Method and Description
String assessmentKey()

Get the assessmentKey property: The assessment key.

static PartialAssessmentProperties fromJson(JsonReader jsonReader)

Reads an instance of PartialAssessmentProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PartialAssessmentProperties withAssessmentKey(String assessmentKey)

Set the assessmentKey property: The assessment key.

Methods inherited from java.lang.Object

Constructor Details

PartialAssessmentProperties

public PartialAssessmentProperties()

Creates an instance of PartialAssessmentProperties class.

Method Details

assessmentKey

public String assessmentKey()

Get the assessmentKey property: The assessment key.

Returns:

the assessmentKey value.

fromJson

public static PartialAssessmentProperties fromJson(JsonReader jsonReader)

Reads an instance of PartialAssessmentProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAssessmentKey

public PartialAssessmentProperties withAssessmentKey(String assessmentKey)

Set the assessmentKey property: The assessment key.

Parameters:

assessmentKey - the assessmentKey value to set.

Returns:

the PartialAssessmentProperties object itself.

Applies to