Class BookmarkTimelineItem

java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityTimelineItem
com.azure.resourcemanager.securityinsights.models.BookmarkTimelineItem

public final class BookmarkTimelineItem extends EntityTimelineItem
Represents bookmark timeline item.
  • Constructor Details

    • BookmarkTimelineItem

      public BookmarkTimelineItem()
  • Method Details

    • azureResourceId

      public String azureResourceId()
      Get the azureResourceId property: The bookmark azure resource id.
      Returns:
      the azureResourceId value.
    • withAzureResourceId

      public BookmarkTimelineItem withAzureResourceId(String azureResourceId)
      Set the azureResourceId property: The bookmark azure resource id.
      Parameters:
      azureResourceId - the azureResourceId value to set.
      Returns:
      the BookmarkTimelineItem object itself.
    • displayName

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

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

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

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

      public OffsetDateTime endTimeUtc()
      Get the endTimeUtc property: The bookmark end time.
      Returns:
      the endTimeUtc value.
    • withEndTimeUtc

      public BookmarkTimelineItem withEndTimeUtc(OffsetDateTime endTimeUtc)
      Set the endTimeUtc property: The bookmark end time.
      Parameters:
      endTimeUtc - the endTimeUtc value to set.
      Returns:
      the BookmarkTimelineItem object itself.
    • startTimeUtc

      public OffsetDateTime startTimeUtc()
      Get the startTimeUtc property: The bookmark start time.
      Returns:
      the startTimeUtc value.
    • withStartTimeUtc

      public BookmarkTimelineItem withStartTimeUtc(OffsetDateTime startTimeUtc)
      Set the startTimeUtc property: The bookmark start time.
      Parameters:
      startTimeUtc - the startTimeUtc value to set.
      Returns:
      the BookmarkTimelineItem object itself.
    • eventTime

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

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

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

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

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

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

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