AlertPropertiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AlertPropertiesInner
- com.
Implements
public final class AlertPropertiesInner
implements JsonSerializable<AlertPropertiesInner>
Alert properties.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertPropertiesInner() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Alert |
alertConfiguration()
Get the alert |
|
Alert |
alertDefinition()
Get the alert |
|
List<Alert |
alertIncidents()
Get the alert |
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
| Integer |
incidentCount()
Get the incident |
| Boolean |
isActive()
Get the is |
|
Offset |
lastModifiedDateTime()
Get the last |
|
Offset |
lastScannedDateTime()
Get the last |
| String |
scope()
Get the scope property: The alert scope. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Alert |
withIsActive(Boolean isActive)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
AlertPropertiesInner
public AlertPropertiesInner()
Creates an instance of AlertPropertiesInner class.
Method Details
alertConfiguration
public AlertConfigurationInner alertConfiguration()
Get the alertConfiguration property: The alert configuration.
Returns:
alertDefinition
public AlertDefinitionInner alertDefinition()
Get the alertDefinition property: The alert definition.
Returns:
alertIncidents
public List<AlertIncidentInner> alertIncidents()
Get the alertIncidents property: The alert incidents.
Returns:
fromJson
public static AlertPropertiesInner fromJson(JsonReader jsonReader)
Reads an instance of AlertPropertiesInner from the JsonReader.
Parameters:
Returns:
Throws:
incidentCount
public Integer incidentCount()
Get the incidentCount property: The number of generated incidents of the alert.
Returns:
isActive
public Boolean isActive()
Get the isActive property: False by default; true if the alert is active.
Returns:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The date time when the alert configuration was updated or new incidents were generated.
Returns:
lastScannedDateTime
public OffsetDateTime lastScannedDateTime()
Get the lastScannedDateTime property: The date time when the alert was last scanned.
Returns:
scope
public String scope()
Get the scope property: The alert scope.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsActive
public AlertPropertiesInner withIsActive(Boolean isActive)
Set the isActive property: False by default; true if the alert is active.
Parameters:
Returns: