java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityMapping

public final class EntityMapping extends Object
Single entity mapping for the alert rule.
  • Constructor Details

    • EntityMapping

      public EntityMapping()
  • Method Details

    • entityType

      public EntityMappingType entityType()
      Get the entityType property: The V3 type of the mapped entity.
      Returns:
      the entityType value.
    • withEntityType

      public EntityMapping withEntityType(EntityMappingType entityType)
      Set the entityType property: The V3 type of the mapped entity.
      Parameters:
      entityType - the entityType value to set.
      Returns:
      the EntityMapping object itself.
    • fieldMappings

      public List<FieldMapping> fieldMappings()
      Get the fieldMappings property: array of field mappings for the given entity mapping.
      Returns:
      the fieldMappings value.
    • withFieldMappings

      public EntityMapping withFieldMappings(List<FieldMapping> fieldMappings)
      Set the fieldMappings property: array of field mappings for the given entity mapping.
      Parameters:
      fieldMappings - the fieldMappings value to set.
      Returns:
      the EntityMapping object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.