Remediation Class

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

public final class Remediation

Remediation details.

Constructor Summary

Constructor Description
Remediation()

Creates an instance of Remediation class.

Method Summary

Modifier and Type Method and Description
Boolean automated()

Get the automated property: Is remediation automated.

String description()

Get the description property: Remediation description.

String portalLink()

Get the portalLink property: Optional link to remediate in Azure Portal.

List<String> scripts()

Get the scripts property: Remediation script.

void validate()

Validates the instance.

Remediation withAutomated(Boolean automated)

Set the automated property: Is remediation automated.

Remediation withDescription(String description)

Set the description property: Remediation description.

Remediation withPortalLink(String portalLink)

Set the portalLink property: Optional link to remediate in Azure Portal.

Remediation withScripts(List<String> scripts)

Set the scripts property: Remediation script.

Methods inherited from java.lang.Object

Constructor Details

Remediation

public Remediation()

Creates an instance of Remediation class.

Method Details

automated

public Boolean automated()

Get the automated property: Is remediation automated.

Returns:

the automated value.

description

public String description()

Get the description property: Remediation description.

Returns:

the description value.

portalLink

public String portalLink()

Get the portalLink property: Optional link to remediate in Azure Portal.

Returns:

the portalLink value.

scripts

public List scripts()

Get the scripts property: Remediation script.

Returns:

the scripts value.

validate

public void validate()

Validates the instance.

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.

withDescription

public Remediation withDescription(String description)

Set the description property: Remediation description.

Parameters:

description - the description value to set.

Returns:

the Remediation object itself.

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.

withScripts

public Remediation withScripts(List scripts)

Set the scripts property: Remediation script.

Parameters:

scripts - the scripts value to set.

Returns:

the Remediation object itself.

Applies to