Class ScopeElement
java.lang.Object
com.azure.resourcemanager.security.models.ScopeElement
A more specific scope used to identify the alerts to suppress.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: A more specific scope used to identify the alerts to suppress.field()
Get the field property: The alert entity type to suppress by.void
validate()
Validates the instance.withAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: A more specific scope used to identify the alerts to suppress.Set the field property: The alert entity type to suppress by.
-
Constructor Details
-
ScopeElement
public ScopeElement()
-
-
Method Details
-
field
Get the field property: The alert entity type to suppress by.- Returns:
- the field value.
-
withField
Set the field property: The alert entity type to suppress by.- Parameters:
field
- the field value to set.- Returns:
- the ScopeElement object itself.
-
additionalProperties
Get the additionalProperties property: A more specific scope used to identify the alerts to suppress.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: A more specific scope used to identify the alerts to suppress.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the ScopeElement object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-