Class ActivityTimelineItem

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

public final class ActivityTimelineItem extends EntityTimelineItem
Represents Activity timeline item.
  • Constructor Details

    • ActivityTimelineItem

      public ActivityTimelineItem()
  • Method Details

    • queryId

      public String queryId()
      Get the queryId property: The activity query id.
      Returns:
      the queryId value.
    • withQueryId

      public ActivityTimelineItem withQueryId(String queryId)
      Set the queryId property: The activity query id.
      Parameters:
      queryId - the queryId value to set.
      Returns:
      the ActivityTimelineItem object itself.
    • bucketStartTimeUtc

      public OffsetDateTime bucketStartTimeUtc()
      Get the bucketStartTimeUtc property: The grouping bucket start time.
      Returns:
      the bucketStartTimeUtc value.
    • withBucketStartTimeUtc

      public ActivityTimelineItem withBucketStartTimeUtc(OffsetDateTime bucketStartTimeUtc)
      Set the bucketStartTimeUtc property: The grouping bucket start time.
      Parameters:
      bucketStartTimeUtc - the bucketStartTimeUtc value to set.
      Returns:
      the ActivityTimelineItem object itself.
    • bucketEndTimeUtc

      public OffsetDateTime bucketEndTimeUtc()
      Get the bucketEndTimeUtc property: The grouping bucket end time.
      Returns:
      the bucketEndTimeUtc value.
    • withBucketEndTimeUtc

      public ActivityTimelineItem withBucketEndTimeUtc(OffsetDateTime bucketEndTimeUtc)
      Set the bucketEndTimeUtc property: The grouping bucket end time.
      Parameters:
      bucketEndTimeUtc - the bucketEndTimeUtc value to set.
      Returns:
      the ActivityTimelineItem object itself.
    • firstActivityTimeUtc

      public OffsetDateTime firstActivityTimeUtc()
      Get the firstActivityTimeUtc property: The time of the first activity in the grouping bucket.
      Returns:
      the firstActivityTimeUtc value.
    • withFirstActivityTimeUtc

      public ActivityTimelineItem withFirstActivityTimeUtc(OffsetDateTime firstActivityTimeUtc)
      Set the firstActivityTimeUtc property: The time of the first activity in the grouping bucket.
      Parameters:
      firstActivityTimeUtc - the firstActivityTimeUtc value to set.
      Returns:
      the ActivityTimelineItem object itself.
    • lastActivityTimeUtc

      public OffsetDateTime lastActivityTimeUtc()
      Get the lastActivityTimeUtc property: The time of the last activity in the grouping bucket.
      Returns:
      the lastActivityTimeUtc value.
    • withLastActivityTimeUtc

      public ActivityTimelineItem withLastActivityTimeUtc(OffsetDateTime lastActivityTimeUtc)
      Set the lastActivityTimeUtc property: The time of the last activity in the grouping bucket.
      Parameters:
      lastActivityTimeUtc - the lastActivityTimeUtc value to set.
      Returns:
      the ActivityTimelineItem object itself.
    • content

      public String content()
      Get the content property: The activity timeline content.
      Returns:
      the content value.
    • withContent

      public ActivityTimelineItem withContent(String content)
      Set the content property: The activity timeline content.
      Parameters:
      content - the content value to set.
      Returns:
      the ActivityTimelineItem object itself.
    • title

      public String title()
      Get the title property: The activity timeline title.
      Returns:
      the title value.
    • withTitle

      public ActivityTimelineItem withTitle(String title)
      Set the title property: The activity timeline title.
      Parameters:
      title - the title value to set.
      Returns:
      the ActivityTimelineItem object itself.
    • validate

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