SecurityAssessment Class

public final class SecurityAssessment
extends ProxyResource

Security assessment on a resource.

Constructor Summary

Constructor Description
SecurityAssessment()

Creates an instance of SecurityAssessment 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.

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.

AssessmentStatus status()

Get the status property: The result of the assessment.

void validate()

Validates the instance.

SecurityAssessment withAdditionalData(Map<String,String> additionalData)

Set the additionalData property: Additional data regarding the assessment.

SecurityAssessment withMetadata(SecurityAssessmentMetadataProperties metadata)

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

SecurityAssessment withPartnersData(SecurityAssessmentPartnerData partnersData)

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

SecurityAssessment withResourceDetails(ResourceDetails resourceDetails)

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

SecurityAssessment withStatus(AssessmentStatus status)

Set the status property: The result of the assessment.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SecurityAssessment

public SecurityAssessment()

Creates an instance of SecurityAssessment class.

Method Details

additionalData

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

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.

status

public AssessmentStatus status()

Get the status property: The result of the assessment.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withAdditionalData

public SecurityAssessment withAdditionalData(Map additionalData)

Set the additionalData property: Additional data regarding the assessment.

Parameters:

additionalData - the additionalData value to set.

Returns:

the SecurityAssessment object itself.

withMetadata

public SecurityAssessment withMetadata(SecurityAssessmentMetadataProperties metadata)

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

Parameters:

metadata - the metadata value to set.

Returns:

the SecurityAssessment object itself.

withPartnersData

public SecurityAssessment withPartnersData(SecurityAssessmentPartnerData partnersData)

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

Parameters:

partnersData - the partnersData value to set.

Returns:

the SecurityAssessment object itself.

withResourceDetails

public SecurityAssessment withResourceDetails(ResourceDetails resourceDetails)

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

Parameters:

resourceDetails - the resourceDetails value to set.

Returns:

the SecurityAssessment object itself.

withStatus

public SecurityAssessment withStatus(AssessmentStatus status)

Set the status property: The result of the assessment.

Parameters:

status - the status value to set.

Returns:

the SecurityAssessment object itself.

Applies to