AlertConfigurationPropertiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AlertConfigurationPropertiesInner
- com.
Implements
public class AlertConfigurationPropertiesInner
implements JsonSerializable<AlertConfigurationPropertiesInner>
Alert configuration properties.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertConfigurationPropertiesInner() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
alertConfigurationType()
Get the alert |
|
Alert |
alertDefinition()
Get the alert |
| String |
alertDefinitionId()
Get the alert |
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
| Boolean |
isEnabled()
Get the is |
| String |
scope()
Get the scope property: The alert scope. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Alert |
withIsEnabled(Boolean isEnabled)
Set the is |
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:
alertDefinition
public AlertDefinitionInner alertDefinition()
Get the alertDefinition property: The alert definition.
Returns:
alertDefinitionId
public String alertDefinitionId()
Get the alertDefinitionId property: The alert definition ID.
Returns:
fromJson
public static AlertConfigurationPropertiesInner fromJson(JsonReader jsonReader)
Reads an instance of AlertConfigurationPropertiesInner from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: True if the alert is enabled, false will disable the scanning for the specific alert.
Returns:
scope
public String scope()
Get the scope property: The alert scope.
Returns:
toJson
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:
Returns: