AlertConfigurationPropertiesInner Class

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

Implements

public class AlertConfigurationPropertiesInner
implements JsonSerializable<AlertConfigurationPropertiesInner>

Alert configuration properties.

Constructor Summary

Constructor Description
AlertConfigurationPropertiesInner()

Creates an instance of AlertConfigurationPropertiesInner class.

Method Summary

Modifier and Type Method and Description
String alertConfigurationType()

Get the alertConfigurationType property: The alert configuration type.

AlertDefinitionInner alertDefinition()

Get the alertDefinition property: The alert definition.

String alertDefinitionId()

Get the alertDefinitionId property: The alert definition ID.

static AlertConfigurationPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of AlertConfigurationPropertiesInner from the JsonReader.

Boolean isEnabled()

Get the isEnabled property: True if the alert is enabled, false will disable the scanning for the specific alert.

String scope()

Get the scope property: The alert scope.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AlertConfigurationPropertiesInner withIsEnabled(Boolean isEnabled)

Set the isEnabled property: True if the alert is enabled, false will disable the scanning for the specific alert.

Methods inherited from java.lang.Object

Constructor Details

AlertConfigurationPropertiesInner

public AlertConfigurationPropertiesInner()

Creates an instance of AlertConfigurationPropertiesInner class.

Method Details

alertConfigurationType

public String alertConfigurationType()

Get the alertConfigurationType property: The alert configuration type.

Returns:

the alertConfigurationType value.

alertDefinition

public AlertDefinitionInner alertDefinition()

Get the alertDefinition property: The alert definition.

Returns:

the alertDefinition value.

alertDefinitionId

public String alertDefinitionId()

Get the alertDefinitionId property: The alert definition ID.

Returns:

the alertDefinitionId value.

fromJson

public static AlertConfigurationPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of AlertConfigurationPropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isEnabled

public Boolean isEnabled()

Get the isEnabled property: True if the alert is enabled, false will disable the scanning for the specific alert.

Returns:

the isEnabled value.

scope

public String scope()

Get the scope property: The alert scope.

Returns:

the scope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsEnabled

public AlertConfigurationPropertiesInner withIsEnabled(Boolean isEnabled)

Set the isEnabled property: True if the alert is enabled, false will disable the scanning for the specific alert.

Parameters:

isEnabled - the isEnabled value to set.

Returns:

the AlertConfigurationPropertiesInner object itself.

Applies to