Class BookmarkInner


  • public final class BookmarkInner
    extends ResourceWithEtag
    Represents a bookmark in Azure Security Insights.
    • Constructor Detail

      • BookmarkInner

        public BookmarkInner()
    • Method Detail

      • withEtag

        public BookmarkInner 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.
      • created

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

        public BookmarkInner withCreated​(OffsetDateTime created)
        Set the created property: The time the bookmark was created.
        Parameters:
        created - the created value to set.
        Returns:
        the BookmarkInner object itself.
      • createdBy

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

        public BookmarkInner withCreatedBy​(UserInfo createdBy)
        Set the createdBy property: Describes a user that created the bookmark.
        Parameters:
        createdBy - the createdBy value to set.
        Returns:
        the BookmarkInner object itself.
      • displayName

        public String displayName()
        Get the displayName property: The display name of the bookmark.
        Returns:
        the displayName value.
      • withDisplayName

        public BookmarkInner withDisplayName​(String displayName)
        Set the displayName property: The display name of the bookmark.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the BookmarkInner object itself.
      • labels

        public List<String> labels()
        Get the labels property: List of labels relevant to this bookmark.
        Returns:
        the labels value.
      • withLabels

        public BookmarkInner withLabels​(List<String> labels)
        Set the labels property: List of labels relevant to this bookmark.
        Parameters:
        labels - the labels value to set.
        Returns:
        the BookmarkInner object itself.
      • notes

        public String notes()
        Get the notes property: The notes of the bookmark.
        Returns:
        the notes value.
      • withNotes

        public BookmarkInner withNotes​(String notes)
        Set the notes property: The notes of the bookmark.
        Parameters:
        notes - the notes value to set.
        Returns:
        the BookmarkInner object itself.
      • query

        public String query()
        Get the query property: The query of the bookmark.
        Returns:
        the query value.
      • withQuery

        public BookmarkInner withQuery​(String query)
        Set the query property: The query of the bookmark.
        Parameters:
        query - the query value to set.
        Returns:
        the BookmarkInner object itself.
      • queryResult

        public String queryResult()
        Get the queryResult property: The query result of the bookmark.
        Returns:
        the queryResult value.
      • withQueryResult

        public BookmarkInner withQueryResult​(String queryResult)
        Set the queryResult property: The query result of the bookmark.
        Parameters:
        queryResult - the queryResult value to set.
        Returns:
        the BookmarkInner object itself.
      • updated

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

        public BookmarkInner withUpdated​(OffsetDateTime updated)
        Set the updated property: The last time the bookmark was updated.
        Parameters:
        updated - the updated value to set.
        Returns:
        the BookmarkInner object itself.
      • updatedBy

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

        public BookmarkInner withUpdatedBy​(UserInfo updatedBy)
        Set the updatedBy property: Describes a user that updated the bookmark.
        Parameters:
        updatedBy - the updatedBy value to set.
        Returns:
        the BookmarkInner object itself.
      • eventTime

        public OffsetDateTime eventTime()
        Get the eventTime property: The bookmark event time.
        Returns:
        the eventTime value.
      • withEventTime

        public BookmarkInner withEventTime​(OffsetDateTime eventTime)
        Set the eventTime property: The bookmark event time.
        Parameters:
        eventTime - the eventTime value to set.
        Returns:
        the BookmarkInner object itself.
      • queryStartTime

        public OffsetDateTime queryStartTime()
        Get the queryStartTime property: The start time for the query.
        Returns:
        the queryStartTime value.
      • withQueryStartTime

        public BookmarkInner withQueryStartTime​(OffsetDateTime queryStartTime)
        Set the queryStartTime property: The start time for the query.
        Parameters:
        queryStartTime - the queryStartTime value to set.
        Returns:
        the BookmarkInner object itself.
      • queryEndTime

        public OffsetDateTime queryEndTime()
        Get the queryEndTime property: The end time for the query.
        Returns:
        the queryEndTime value.
      • withQueryEndTime

        public BookmarkInner withQueryEndTime​(OffsetDateTime queryEndTime)
        Set the queryEndTime property: The end time for the query.
        Parameters:
        queryEndTime - the queryEndTime value to set.
        Returns:
        the BookmarkInner object itself.
      • incidentInfo

        public IncidentInfo incidentInfo()
        Get the incidentInfo property: Describes an incident that relates to bookmark.
        Returns:
        the incidentInfo value.
      • withIncidentInfo

        public BookmarkInner withIncidentInfo​(IncidentInfo incidentInfo)
        Set the incidentInfo property: Describes an incident that relates to bookmark.
        Parameters:
        incidentInfo - the incidentInfo value to set.
        Returns:
        the BookmarkInner object itself.
      • entityMappings

        public List<BookmarkEntityMappings> entityMappings()
        Get the entityMappings property: Describes the entity mappings of the bookmark.
        Returns:
        the entityMappings value.
      • withEntityMappings

        public BookmarkInner withEntityMappings​(List<BookmarkEntityMappings> entityMappings)
        Set the entityMappings property: Describes the entity mappings of the bookmark.
        Parameters:
        entityMappings - the entityMappings value to set.
        Returns:
        the BookmarkInner object itself.
      • tactics

        public List<AttackTactic> tactics()
        Get the tactics property: A list of relevant mitre attacks.
        Returns:
        the tactics value.
      • withTactics

        public BookmarkInner withTactics​(List<AttackTactic> tactics)
        Set the tactics property: A list of relevant mitre attacks.
        Parameters:
        tactics - the tactics value to set.
        Returns:
        the BookmarkInner object itself.
      • techniques

        public List<String> techniques()
        Get the techniques property: A list of relevant mitre techniques.
        Returns:
        the techniques value.
      • withTechniques

        public BookmarkInner withTechniques​(List<String> techniques)
        Set the techniques property: A list of relevant mitre techniques.
        Parameters:
        techniques - the techniques value to set.
        Returns:
        the BookmarkInner object itself.