Class SecurityAssessmentPropertiesResponse
java.lang.Object
com.azure.resourcemanager.security.models.SecurityAssessmentPropertiesBase
com.azure.resourcemanager.security.fluent.models.SecurityAssessmentPropertiesResponse
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
(AssessmentStatusResponse 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
-
SecurityAssessmentPropertiesResponse
public SecurityAssessmentPropertiesResponse()
-
-
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 SecurityAssessmentPropertiesResponse 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
public SecurityAssessmentPropertiesResponse withMetadata(SecurityAssessmentMetadataProperties metadata) 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
public SecurityAssessmentPropertiesResponse withPartnersData(SecurityAssessmentPartnerData partnersData) 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.
-