AlertDefinitionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.AlertDefinitionProperties

Implements

public final class AlertDefinitionProperties
implements JsonSerializable<AlertDefinitionProperties>

Alert definition properties.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The alert description.

String displayName()

Get the displayName property: The alert display name.

static AlertDefinitionProperties fromJson(JsonReader jsonReader)

Reads an instance of AlertDefinitionProperties from the JsonReader.

String howToPrevent()

Get the howToPrevent property: The ways to prevent the alert.

Boolean isConfigurable()

Get the isConfigurable property: True if the alert configuration can be configured; false, otherwise.

Boolean isRemediatable()

Get the isRemediatable property: True if the alert can be remediated; false, otherwise.

String mitigationSteps()

Get the mitigationSteps property: The methods to mitigate the alert.

String scope()

Get the scope property: The alert scope.

String securityImpact()

Get the securityImpact property: Security impact of the alert.

SeverityLevel severityLevel()

Get the severityLevel property: Severity level of the alert.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: The alert description.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The alert display name.

Returns:

the displayName value.

fromJson

public static AlertDefinitionProperties fromJson(JsonReader jsonReader)

Reads an instance of AlertDefinitionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AlertDefinitionProperties 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 AlertDefinitionProperties.

howToPrevent

public String howToPrevent()

Get the howToPrevent property: The ways to prevent the alert.

Returns:

the howToPrevent value.

isConfigurable

public Boolean isConfigurable()

Get the isConfigurable property: True if the alert configuration can be configured; false, otherwise.

Returns:

the isConfigurable value.

isRemediatable

public Boolean isRemediatable()

Get the isRemediatable property: True if the alert can be remediated; false, otherwise.

Returns:

the isRemediatable value.

mitigationSteps

public String mitigationSteps()

Get the mitigationSteps property: The methods to mitigate the alert.

Returns:

the mitigationSteps value.

scope

public String scope()

Get the scope property: The alert scope.

Returns:

the scope value.

securityImpact

public String securityImpact()

Get the securityImpact property: Security impact of the alert.

Returns:

the securityImpact value.

severityLevel

public SeverityLevel severityLevel()

Get the severityLevel property: Severity level of the alert.

Returns:

the severityLevel value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to