Class EntityMapping
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityMapping
Single entity mapping for the alert rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the entityType property: The V3 type of the mapped entity.Get the fieldMappings property: array of field mappings for the given entity mapping.void
validate()
Validates the instance.withEntityType
(EntityMappingType entityType) Set the entityType property: The V3 type of the mapped entity.withFieldMappings
(List<FieldMapping> fieldMappings) Set the fieldMappings property: array of field mappings for the given entity mapping.
-
Constructor Details
-
EntityMapping
public EntityMapping()
-
-
Method Details
-
entityType
Get the entityType property: The V3 type of the mapped entity.- Returns:
- the entityType value.
-
withEntityType
Set the entityType property: The V3 type of the mapped entity.- Parameters:
entityType
- the entityType value to set.- Returns:
- the EntityMapping object itself.
-
fieldMappings
Get the fieldMappings property: array of field mappings for the given entity mapping.- Returns:
- the fieldMappings value.
-
withFieldMappings
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.
-