Class WatchlistItemProperties

java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.WatchlistItemProperties

public final class WatchlistItemProperties extends Object
Describes watchlist item properties.
  • Constructor Details

    • WatchlistItemProperties

      public WatchlistItemProperties()
  • Method Details

    • watchlistItemType

      public String watchlistItemType()
      Get the watchlistItemType property: The type of the watchlist item.
      Returns:
      the watchlistItemType value.
    • withWatchlistItemType

      public WatchlistItemProperties withWatchlistItemType(String watchlistItemType)
      Set the watchlistItemType property: The type of the watchlist item.
      Parameters:
      watchlistItemType - the watchlistItemType value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • watchlistItemId

      public String watchlistItemId()
      Get the watchlistItemId property: The id (a Guid) of the watchlist item.
      Returns:
      the watchlistItemId value.
    • withWatchlistItemId

      public WatchlistItemProperties withWatchlistItemId(String watchlistItemId)
      Set the watchlistItemId property: The id (a Guid) of the watchlist item.
      Parameters:
      watchlistItemId - the watchlistItemId value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenantId to which the watchlist item belongs to.
      Returns:
      the tenantId value.
    • withTenantId

      public WatchlistItemProperties withTenantId(String tenantId)
      Set the tenantId property: The tenantId to which the watchlist item belongs to.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • isDeleted

      public Boolean isDeleted()
      Get the isDeleted property: A flag that indicates if the watchlist item is deleted or not.
      Returns:
      the isDeleted value.
    • withIsDeleted

      public WatchlistItemProperties withIsDeleted(Boolean isDeleted)
      Set the isDeleted property: A flag that indicates if the watchlist item is deleted or not.
      Parameters:
      isDeleted - the isDeleted value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • created

      public OffsetDateTime created()
      Get the created property: The time the watchlist item was created.
      Returns:
      the created value.
    • withCreated

      public WatchlistItemProperties withCreated(OffsetDateTime created)
      Set the created property: The time the watchlist item was created.
      Parameters:
      created - the created value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • updated

      public OffsetDateTime updated()
      Get the updated property: The last time the watchlist item was updated.
      Returns:
      the updated value.
    • withUpdated

      public WatchlistItemProperties withUpdated(OffsetDateTime updated)
      Set the updated property: The last time the watchlist item was updated.
      Parameters:
      updated - the updated value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • createdBy

      public UserInfo createdBy()
      Get the createdBy property: Describes a user that created the watchlist item.
      Returns:
      the createdBy value.
    • withCreatedBy

      public WatchlistItemProperties withCreatedBy(UserInfo createdBy)
      Set the createdBy property: Describes a user that created the watchlist item.
      Parameters:
      createdBy - the createdBy value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • updatedBy

      public UserInfo updatedBy()
      Get the updatedBy property: Describes a user that updated the watchlist item.
      Returns:
      the updatedBy value.
    • withUpdatedBy

      public WatchlistItemProperties withUpdatedBy(UserInfo updatedBy)
      Set the updatedBy property: Describes a user that updated the watchlist item.
      Parameters:
      updatedBy - the updatedBy value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • itemsKeyValue

      public Map<String,Object> itemsKeyValue()
      Get the itemsKeyValue property: key-value pairs for a watchlist item.
      Returns:
      the itemsKeyValue value.
    • withItemsKeyValue

      public WatchlistItemProperties withItemsKeyValue(Map<String,Object> itemsKeyValue)
      Set the itemsKeyValue property: key-value pairs for a watchlist item.
      Parameters:
      itemsKeyValue - the itemsKeyValue value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • entityMapping

      public Map<String,Object> entityMapping()
      Get the entityMapping property: key-value pairs for a watchlist item entity mapping.
      Returns:
      the entityMapping value.
    • withEntityMapping

      public WatchlistItemProperties withEntityMapping(Map<String,Object> entityMapping)
      Set the entityMapping property: key-value pairs for a watchlist item entity mapping.
      Parameters:
      entityMapping - the entityMapping value to set.
      Returns:
      the WatchlistItemProperties object itself.
    • validate

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