Class ScopeElement

java.lang.Object
com.azure.resourcemanager.security.models.ScopeElement

public final class ScopeElement extends Object
A more specific scope used to identify the alerts to suppress.
  • Constructor Details

    • ScopeElement

      public ScopeElement()
  • Method Details

    • field

      public String field()
      Get the field property: The alert entity type to suppress by.
      Returns:
      the field value.
    • withField

      public ScopeElement withField(String field)
      Set the field property: The alert entity type to suppress by.
      Parameters:
      field - the field value to set.
      Returns:
      the ScopeElement object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: A more specific scope used to identify the alerts to suppress.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public ScopeElement withAdditionalProperties(Map<String,Object> additionalProperties)
      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.