java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.WatchlistItemInner

public final class WatchlistItemInner extends ResourceWithEtag
Represents a Watchlist item in Azure Security Insights.
  • Constructor Details

    • WatchlistItemInner

      public WatchlistItemInner()
  • Method Details

    • withEtag

      public WatchlistItemInner withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class ResourceWithEtag
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • watchlistItemType

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

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

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

      public WatchlistItemInner withWatchlistItemId(String watchlistItemId)
      Set the watchlistItemId property: The id (a Guid) of the watchlist item.
      Parameters:
      watchlistItemId - the watchlistItemId value to set.
      Returns:
      the WatchlistItemInner 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 WatchlistItemInner 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 WatchlistItemInner 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 WatchlistItemInner 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 WatchlistItemInner object itself.
    • created

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

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

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

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

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

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

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

      public WatchlistItemInner withUpdatedBy(UserInfo updatedBy)
      Set the updatedBy property: Describes a user that updated the watchlist item.
      Parameters:
      updatedBy - the updatedBy value to set.
      Returns:
      the WatchlistItemInner 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 WatchlistItemInner 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 WatchlistItemInner 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 WatchlistItemInner 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 WatchlistItemInner object itself.
    • validate

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