Class SecuritySubAssessmentInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.SecuritySubAssessmentInner

public final class SecuritySubAssessmentInner extends com.azure.core.management.ProxyResource
Security sub-assessment on a resource.
  • Constructor Details

    • SecuritySubAssessmentInner

      public SecuritySubAssessmentInner()
  • Method Details

    • idPropertiesId

      public String idPropertiesId()
      Get the id property: Vulnerability ID.
      Returns:
      the id value.
    • displayName

      public String displayName()
      Get the displayName property: User friendly display name of the sub-assessment.
      Returns:
      the displayName value.
    • status

      public SubAssessmentStatus status()
      Get the status property: Status of the sub-assessment.
      Returns:
      the status value.
    • withStatus

      public SecuritySubAssessmentInner withStatus(SubAssessmentStatus status)
      Set the status property: Status of the sub-assessment.
      Parameters:
      status - the status value to set.
      Returns:
      the SecuritySubAssessmentInner object itself.
    • remediation

      public String remediation()
      Get the remediation property: Information on how to remediate this sub-assessment.
      Returns:
      the remediation value.
    • impact

      public String impact()
      Get the impact property: Description of the impact of this sub-assessment.
      Returns:
      the impact value.
    • category

      public String category()
      Get the category property: Category of the sub-assessment.
      Returns:
      the category value.
    • description

      public String description()
      Get the description property: Human readable description of the assessment status.
      Returns:
      the description value.
    • timeGenerated

      public OffsetDateTime timeGenerated()
      Get the timeGenerated property: The date and time the sub-assessment was generated.
      Returns:
      the timeGenerated value.
    • resourceDetails

      public ResourceDetails resourceDetails()
      Get the resourceDetails property: Details of the resource that was assessed.
      Returns:
      the resourceDetails value.
    • withResourceDetails

      public SecuritySubAssessmentInner withResourceDetails(ResourceDetails resourceDetails)
      Set the resourceDetails property: Details of the resource that was assessed.
      Parameters:
      resourceDetails - the resourceDetails value to set.
      Returns:
      the SecuritySubAssessmentInner object itself.
    • additionalData

      public AdditionalData additionalData()
      Get the additionalData property: Details of the sub-assessment.
      Returns:
      the additionalData value.
    • withAdditionalData

      public SecuritySubAssessmentInner withAdditionalData(AdditionalData additionalData)
      Set the additionalData property: Details of the sub-assessment.
      Parameters:
      additionalData - the additionalData value to set.
      Returns:
      the SecuritySubAssessmentInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.