Remediation Class

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

Implements

public final class Remediation
implements JsonSerializable<Remediation>

Remediation details.

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.

static Remediation fromJson(JsonReader jsonReader)

Reads an instance of Remediation from the JsonReader.

String portalLink()

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

List<String> scripts()

Get the scripts property: Remediation script.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

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.

fromJson

public static Remediation fromJson(JsonReader jsonReader)

Reads an instance of Remediation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Remediation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Remediation.

portalLink

public String portalLink()

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

Returns:

the portalLink value.

scripts

public List<String> scripts()

Get the scripts property: Remediation script.

Returns:

the scripts value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to