Class Remediation
java.lang.Object
com.azure.resourcemanager.security.models.Remediation
Remediation details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the automated property: Is remediation automated.Get the description property: Remediation description.Get the portalLink property: Optional link to remediate in Azure Portal.scripts()
Get the scripts property: Remediation script.void
validate()
Validates the instance.withAutomated
(Boolean automated) Set the automated property: Is remediation automated.withDescription
(String description) Set the description property: Remediation description.withPortalLink
(String portalLink) Set the portalLink property: Optional link to remediate in Azure Portal.withScripts
(List<String> scripts) Set the scripts property: Remediation script.
-
Constructor Details
-
Remediation
public Remediation()
-
-
Method Details
-
description
Get the description property: Remediation description.- Returns:
- the description value.
-
withDescription
Set the description property: Remediation description.- Parameters:
description
- the description value to set.- Returns:
- the Remediation object itself.
-
scripts
Get the scripts property: Remediation script.- Returns:
- the scripts value.
-
withScripts
Set the scripts property: Remediation script.- Parameters:
scripts
- the scripts value to set.- Returns:
- the Remediation object itself.
-
automated
Get the automated property: Is remediation automated.- Returns:
- the automated value.
-
withAutomated
Set the automated property: Is remediation automated.- Parameters:
automated
- the automated value to set.- Returns:
- the Remediation object itself.
-
portalLink
Get the portalLink property: Optional link to remediate in Azure Portal.- Returns:
- the portalLink value.
-
withPortalLink
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.
-