Class BookmarkEntityMappings
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.BookmarkEntityMappings
-
public final class BookmarkEntityMappings extends Object
Describes the entity mappings of a single entity.
-
-
Constructor Summary
Constructors Constructor Description BookmarkEntityMappings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
entityType()
Get the entityType property: The entity type.List<EntityFieldMapping>
fieldMappings()
Get the fieldMappings property: Array of fields mapping for that entity type.void
validate()
Validates the instance.BookmarkEntityMappings
withEntityType(String entityType)
Set the entityType property: The entity type.BookmarkEntityMappings
withFieldMappings(List<EntityFieldMapping> fieldMappings)
Set the fieldMappings property: Array of fields mapping for that entity type.
-
-
-
Method Detail
-
entityType
public String entityType()
Get the entityType property: The entity type.- Returns:
- the entityType value.
-
withEntityType
public BookmarkEntityMappings withEntityType(String entityType)
Set the entityType property: The entity type.- Parameters:
entityType
- the entityType value to set.- Returns:
- the BookmarkEntityMappings object itself.
-
fieldMappings
public List<EntityFieldMapping> fieldMappings()
Get the fieldMappings property: Array of fields mapping for that entity type.- Returns:
- the fieldMappings value.
-
withFieldMappings
public BookmarkEntityMappings withFieldMappings(List<EntityFieldMapping> fieldMappings)
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.
-
-