SecurityAssessmentPropertiesBase Class

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

Implements

public class SecurityAssessmentPropertiesBase
implements JsonSerializable<SecurityAssessmentPropertiesBase>

Describes properties of an assessment.

Constructor Summary

Constructor Description
SecurityAssessmentPropertiesBase()

Creates an instance of SecurityAssessmentPropertiesBase class.

Method Summary

Modifier and Type Method and Description
Map<String,String> additionalData()

Get the additionalData property: Additional data regarding the assessment.

String displayName()

Get the displayName property: User friendly display name of the assessment.

static SecurityAssessmentPropertiesBase fromJson(JsonReader jsonReader)

Reads an instance of SecurityAssessmentPropertiesBase from the JsonReader.

AssessmentLinks links()

Get the links property: Links relevant to the assessment.

SecurityAssessmentMetadataProperties metadata()

Get the metadata property: Describes properties of an assessment metadata.

SecurityAssessmentPartnerData partnersData()

Get the partnersData property: Data regarding 3rd party partner integration.

ResourceDetails resourceDetails()

Get the resourceDetails property: Details of the resource that was assessed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SecurityAssessmentPropertiesBase withAdditionalData(Map<String,String> additionalData)

Set the additionalData property: Additional data regarding the assessment.

SecurityAssessmentPropertiesBase withMetadata(SecurityAssessmentMetadataProperties metadata)

Set the metadata property: Describes properties of an assessment metadata.

SecurityAssessmentPropertiesBase withPartnersData(SecurityAssessmentPartnerData partnersData)

Set the partnersData property: Data regarding 3rd party partner integration.

SecurityAssessmentPropertiesBase withResourceDetails(ResourceDetails resourceDetails)

Set the resourceDetails property: Details of the resource that was assessed.

Methods inherited from java.lang.Object

Constructor Details

SecurityAssessmentPropertiesBase

public SecurityAssessmentPropertiesBase()

Creates an instance of SecurityAssessmentPropertiesBase class.

Method Details

additionalData

public Map<String,String> additionalData()

Get the additionalData property: Additional data regarding the assessment.

Returns:

the additionalData value.

displayName

public String displayName()

Get the displayName property: User friendly display name of the assessment.

Returns:

the displayName value.

fromJson

public static SecurityAssessmentPropertiesBase fromJson(JsonReader jsonReader)

Reads an instance of SecurityAssessmentPropertiesBase from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

links

public AssessmentLinks links()

Get the links property: Links relevant to the assessment.

Returns:

the links value.

metadata

public SecurityAssessmentMetadataProperties metadata()

Get the metadata property: Describes properties of an assessment metadata.

Returns:

the metadata value.

partnersData

public SecurityAssessmentPartnerData partnersData()

Get the partnersData property: Data regarding 3rd party partner integration.

Returns:

the partnersData value.

resourceDetails

public ResourceDetails resourceDetails()

Get the resourceDetails property: Details of the resource that was assessed.

Returns:

the resourceDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalData

public SecurityAssessmentPropertiesBase withAdditionalData(Map<String,String> additionalData)

Set the additionalData property: Additional data regarding the assessment.

Parameters:

additionalData - the additionalData value to set.

Returns:

the SecurityAssessmentPropertiesBase object itself.

withMetadata

public SecurityAssessmentPropertiesBase withMetadata(SecurityAssessmentMetadataProperties metadata)

Set the metadata property: Describes properties of an assessment metadata.

Parameters:

metadata - the metadata value to set.

Returns:

the SecurityAssessmentPropertiesBase object itself.

withPartnersData

public SecurityAssessmentPropertiesBase withPartnersData(SecurityAssessmentPartnerData partnersData)

Set the partnersData property: Data regarding 3rd party partner integration.

Parameters:

partnersData - the partnersData value to set.

Returns:

the SecurityAssessmentPropertiesBase object itself.

withResourceDetails

public SecurityAssessmentPropertiesBase withResourceDetails(ResourceDetails resourceDetails)

Set the resourceDetails property: Details of the resource that was assessed.

Parameters:

resourceDetails - the resourceDetails value to set.

Returns:

the SecurityAssessmentPropertiesBase object itself.

Applies to