Class SecurityAssessmentMetadataProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.SecurityAssessmentMetadataProperties
Direct Known Subclasses:
SecurityAssessmentMetadataPropertiesResponse

public class SecurityAssessmentMetadataProperties extends Object
Describes properties of an assessment metadata.
  • Constructor Details

    • SecurityAssessmentMetadataProperties

      public SecurityAssessmentMetadataProperties()
  • Method Details

    • displayName

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

      public SecurityAssessmentMetadataProperties withDisplayName(String displayName)
      Set the displayName property: User friendly display name of the assessment.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • policyDefinitionId

      public String policyDefinitionId()
      Get the policyDefinitionId property: Azure resource ID of the policy definition that turns this assessment calculation on.
      Returns:
      the policyDefinitionId value.
    • description

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

      public SecurityAssessmentMetadataProperties withDescription(String description)
      Set the description property: Human readable description of the assessment.
      Parameters:
      description - the description value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • remediationDescription

      public String remediationDescription()
      Get the remediationDescription property: Human readable description of what you should do to mitigate this security issue.
      Returns:
      the remediationDescription value.
    • withRemediationDescription

      public SecurityAssessmentMetadataProperties withRemediationDescription(String remediationDescription)
      Set the remediationDescription property: Human readable description of what you should do to mitigate this security issue.
      Parameters:
      remediationDescription - the remediationDescription value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • categories

      public List<Categories> categories()
      Get the categories property: The categories property.
      Returns:
      the categories value.
    • withCategories

      public SecurityAssessmentMetadataProperties withCategories(List<Categories> categories)
      Set the categories property: The categories property.
      Parameters:
      categories - the categories value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • severity

      public Severity severity()
      Get the severity property: The severity level of the assessment.
      Returns:
      the severity value.
    • withSeverity

      public SecurityAssessmentMetadataProperties withSeverity(Severity severity)
      Set the severity property: The severity level of the assessment.
      Parameters:
      severity - the severity value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • userImpact

      public UserImpact userImpact()
      Get the userImpact property: The user impact of the assessment.
      Returns:
      the userImpact value.
    • withUserImpact

      public SecurityAssessmentMetadataProperties withUserImpact(UserImpact userImpact)
      Set the userImpact property: The user impact of the assessment.
      Parameters:
      userImpact - the userImpact value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • implementationEffort

      public ImplementationEffort implementationEffort()
      Get the implementationEffort property: The implementation effort required to remediate this assessment.
      Returns:
      the implementationEffort value.
    • withImplementationEffort

      public SecurityAssessmentMetadataProperties withImplementationEffort(ImplementationEffort implementationEffort)
      Set the implementationEffort property: The implementation effort required to remediate this assessment.
      Parameters:
      implementationEffort - the implementationEffort value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • threats

      public List<Threats> threats()
      Get the threats property: The threats property.
      Returns:
      the threats value.
    • withThreats

      public SecurityAssessmentMetadataProperties withThreats(List<Threats> threats)
      Set the threats property: The threats property.
      Parameters:
      threats - the threats value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • preview

      public Boolean preview()
      Get the preview property: True if this assessment is in preview release status.
      Returns:
      the preview value.
    • withPreview

      public SecurityAssessmentMetadataProperties withPreview(Boolean preview)
      Set the preview property: True if this assessment is in preview release status.
      Parameters:
      preview - the preview value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • assessmentType

      public AssessmentType assessmentType()
      Get the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.
      Returns:
      the assessmentType value.
    • withAssessmentType

      public SecurityAssessmentMetadataProperties withAssessmentType(AssessmentType assessmentType)
      Set the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.
      Parameters:
      assessmentType - the assessmentType value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • partnerData

      Get the partnerData property: Describes the partner that created the assessment.
      Returns:
      the partnerData value.
    • withPartnerData

      Set the partnerData property: Describes the partner that created the assessment.
      Parameters:
      partnerData - the partnerData value to set.
      Returns:
      the SecurityAssessmentMetadataProperties object itself.
    • validate

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