Class SecurityAssessmentProperties
java.lang.Object
com.azure.resourcemanager.security.models.SecurityAssessmentPropertiesBase
com.azure.resourcemanager.security.fluent.models.SecurityAssessmentProperties
Describes properties of an assessment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatus()
Get the status property: The result of the assessment.void
validate()
Validates the instance.withAdditionalData
(Map<String, String> additionalData) Set the additionalData property: Additional data regarding the assessment.Set the metadata property: Describes properties of an assessment metadata.withPartnersData
(SecurityAssessmentPartnerData partnersData) Set the partnersData property: Data regarding 3rd party partner integration.withResourceDetails
(ResourceDetails resourceDetails) Set the resourceDetails property: Details of the resource that was assessed.withStatus
(AssessmentStatus status) Set the status property: The result of the assessment.Methods inherited from class com.azure.resourcemanager.security.models.SecurityAssessmentPropertiesBase
additionalData, displayName, links, metadata, partnersData, resourceDetails
-
Constructor Details
-
SecurityAssessmentProperties
public SecurityAssessmentProperties()
-
-
Method Details
-
status
Get the status property: The result of the assessment.- Returns:
- the status value.
-
withStatus
Set the status property: The result of the assessment.- Parameters:
status
- the status value to set.- Returns:
- the SecurityAssessmentProperties object itself.
-
withResourceDetails
Set the resourceDetails property: Details of the resource that was assessed.- Overrides:
withResourceDetails
in classSecurityAssessmentPropertiesBase
- Parameters:
resourceDetails
- the resourceDetails value to set.- Returns:
- the SecurityAssessmentPropertiesBase object itself.
-
withAdditionalData
Set the additionalData property: Additional data regarding the assessment.- Overrides:
withAdditionalData
in classSecurityAssessmentPropertiesBase
- Parameters:
additionalData
- the additionalData value to set.- Returns:
- the SecurityAssessmentPropertiesBase object itself.
-
withMetadata
Set the metadata property: Describes properties of an assessment metadata.- Overrides:
withMetadata
in classSecurityAssessmentPropertiesBase
- Parameters:
metadata
- the metadata value to set.- Returns:
- the SecurityAssessmentPropertiesBase object itself.
-
withPartnersData
Set the partnersData property: Data regarding 3rd party partner integration.- Overrides:
withPartnersData
in classSecurityAssessmentPropertiesBase
- Parameters:
partnersData
- the partnersData value to set.- Returns:
- the SecurityAssessmentPropertiesBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classSecurityAssessmentPropertiesBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-