ScopeElement Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ScopeElement
- com.
Implements
public final class ScopeElement
implements JsonSerializable<ScopeElement>
A more specific scope used to identify the alerts to suppress.
Constructor Summary
| Constructor | Description |
|---|---|
| ScopeElement() |
Creates an instance of Scope |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| String |
field()
Get the field property: The alert entity type to suppress by. |
|
static
Scope |
fromJson(JsonReader jsonReader)
Reads an instance of Scope |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Scope |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Scope |
withField(String field)
Set the field property: The alert entity type to suppress by. |
Methods inherited from java.lang.Object
Constructor Details
ScopeElement
public ScopeElement()
Creates an instance of ScopeElement class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: A more specific scope used to identify the alerts to suppress.
Returns:
field
public String field()
Get the field property: The alert entity type to suppress by.
Returns:
fromJson
public static ScopeElement fromJson(JsonReader jsonReader)
Reads an instance of ScopeElement from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public ScopeElement withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: A more specific scope used to identify the alerts to suppress.
Parameters:
Returns:
withField
public ScopeElement withField(String field)
Set the field property: The alert entity type to suppress by.
Parameters:
Returns: