Class BookmarkEntityMappings
java.lang.Object
com.azure.resourcemanager.securityinsights.models.BookmarkEntityMappings
Describes the entity mappings of a single entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the entityType property: The entity type.Get the fieldMappings property: Array of fields mapping for that entity type.void
validate()
Validates the instance.withEntityType
(String entityType) Set the entityType property: The entity type.withFieldMappings
(List<EntityFieldMapping> fieldMappings) Set the fieldMappings property: Array of fields mapping for that entity type.
-
Constructor Details
-
BookmarkEntityMappings
public BookmarkEntityMappings()
-
-
Method Details
-
entityType
Get the entityType property: The entity type.- Returns:
- the entityType value.
-
withEntityType
Set the entityType property: The entity type.- Parameters:
entityType
- the entityType value to set.- Returns:
- the BookmarkEntityMappings object itself.
-
fieldMappings
Get the fieldMappings property: Array of fields mapping for that entity type.- Returns:
- the fieldMappings value.
-
withFieldMappings
Set the fieldMappings property: Array of fields mapping for that entity type.- Parameters:
fieldMappings
- the fieldMappings value to set.- Returns:
- the BookmarkEntityMappings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-