Class Remediation

java.lang.Object
com.azure.resourcemanager.security.models.Remediation

public final class Remediation extends Object
Remediation details.
  • Constructor Details

    • Remediation

      public Remediation()
  • Method Details

    • description

      public String description()
      Get the description property: Remediation description.
      Returns:
      the description value.
    • withDescription

      public Remediation withDescription(String description)
      Set the description property: Remediation description.
      Parameters:
      description - the description value to set.
      Returns:
      the Remediation object itself.
    • scripts

      public List<String> scripts()
      Get the scripts property: Remediation script.
      Returns:
      the scripts value.
    • withScripts

      public Remediation withScripts(List<String> scripts)
      Set the scripts property: Remediation script.
      Parameters:
      scripts - the scripts value to set.
      Returns:
      the Remediation object itself.
    • automated

      public Boolean automated()
      Get the automated property: Is remediation automated.
      Returns:
      the automated value.
    • withAutomated

      public Remediation withAutomated(Boolean automated)
      Set the automated property: Is remediation automated.
      Parameters:
      automated - the automated value to set.
      Returns:
      the Remediation object itself.
    • portalLink

      public String portalLink()
      Get the portalLink property: Optional link to remediate in Azure Portal.
      Returns:
      the portalLink value.
    • withPortalLink

      public Remediation withPortalLink(String portalLink)
      Set the portalLink property: Optional link to remediate in Azure Portal.
      Parameters:
      portalLink - the portalLink value to set.
      Returns:
      the Remediation object itself.
    • validate

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