Class SecuritySubAssessmentProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.SecuritySubAssessmentProperties
Describes properties of an sub-assessment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalData property: Details of the sub-assessment.category()
Get the category property: Category of the sub-assessment.Get the description property: Human readable description of the assessment status.Get the displayName property: User friendly display name of the sub-assessment.id()
Get the id property: Vulnerability ID.impact()
Get the impact property: Description of the impact of this sub-assessment.Get the remediation property: Information on how to remediate this sub-assessment.Get the resourceDetails property: Details of the resource that was assessed.status()
Get the status property: Status of the sub-assessment.Get the timeGenerated property: The date and time the sub-assessment was generated.void
validate()
Validates the instance.withAdditionalData
(AdditionalData additionalData) Set the additionalData property: Details of the sub-assessment.withResourceDetails
(ResourceDetails resourceDetails) Set the resourceDetails property: Details of the resource that was assessed.withStatus
(SubAssessmentStatus status) Set the status property: Status of the sub-assessment.
-
Constructor Details
-
SecuritySubAssessmentProperties
public SecuritySubAssessmentProperties()
-
-
Method Details
-
id
Get the id property: Vulnerability ID.- Returns:
- the id value.
-
displayName
Get the displayName property: User friendly display name of the sub-assessment.- Returns:
- the displayName value.
-
status
Get the status property: Status of the sub-assessment.- Returns:
- the status value.
-
withStatus
Set the status property: Status of the sub-assessment.- Parameters:
status
- the status value to set.- Returns:
- the SecuritySubAssessmentProperties object itself.
-
remediation
Get the remediation property: Information on how to remediate this sub-assessment.- Returns:
- the remediation value.
-
impact
Get the impact property: Description of the impact of this sub-assessment.- Returns:
- the impact value.
-
category
Get the category property: Category of the sub-assessment.- Returns:
- the category value.
-
description
Get the description property: Human readable description of the assessment status.- Returns:
- the description value.
-
timeGenerated
Get the timeGenerated property: The date and time the sub-assessment was generated.- Returns:
- the timeGenerated value.
-
resourceDetails
Get the resourceDetails property: Details of the resource that was assessed.- Returns:
- the resourceDetails value.
-
withResourceDetails
Set the resourceDetails property: Details of the resource that was assessed.- Parameters:
resourceDetails
- the resourceDetails value to set.- Returns:
- the SecuritySubAssessmentProperties object itself.
-
additionalData
Get the additionalData property: Details of the sub-assessment.- Returns:
- the additionalData value.
-
withAdditionalData
Set the additionalData property: Details of the sub-assessment.- Parameters:
additionalData
- the additionalData value to set.- Returns:
- the SecuritySubAssessmentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-