Class ActivityTimelineItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityTimelineItem
com.azure.resourcemanager.securityinsights.models.ActivityTimelineItem
Represents Activity timeline item.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the bucketEndTimeUtc property: The grouping bucket end time.Get the bucketStartTimeUtc property: The grouping bucket start time.content()
Get the content property: The activity timeline content.Get the firstActivityTimeUtc property: The time of the first activity in the grouping bucket.Get the lastActivityTimeUtc property: The time of the last activity in the grouping bucket.queryId()
Get the queryId property: The activity query id.title()
Get the title property: The activity timeline title.void
validate()
Validates the instance.withBucketEndTimeUtc
(OffsetDateTime bucketEndTimeUtc) Set the bucketEndTimeUtc property: The grouping bucket end time.withBucketStartTimeUtc
(OffsetDateTime bucketStartTimeUtc) Set the bucketStartTimeUtc property: The grouping bucket start time.withContent
(String content) Set the content property: The activity timeline content.withFirstActivityTimeUtc
(OffsetDateTime firstActivityTimeUtc) Set the firstActivityTimeUtc property: The time of the first activity in the grouping bucket.withLastActivityTimeUtc
(OffsetDateTime lastActivityTimeUtc) Set the lastActivityTimeUtc property: The time of the last activity in the grouping bucket.withQueryId
(String queryId) Set the queryId property: The activity query id.Set the title property: The activity timeline title.
-
Constructor Details
-
ActivityTimelineItem
public ActivityTimelineItem()
-
-
Method Details
-
queryId
Get the queryId property: The activity query id.- Returns:
- the queryId value.
-
withQueryId
Set the queryId property: The activity query id.- Parameters:
queryId
- the queryId value to set.- Returns:
- the ActivityTimelineItem object itself.
-
bucketStartTimeUtc
Get the bucketStartTimeUtc property: The grouping bucket start time.- Returns:
- the bucketStartTimeUtc value.
-
withBucketStartTimeUtc
Set the bucketStartTimeUtc property: The grouping bucket start time.- Parameters:
bucketStartTimeUtc
- the bucketStartTimeUtc value to set.- Returns:
- the ActivityTimelineItem object itself.
-
bucketEndTimeUtc
Get the bucketEndTimeUtc property: The grouping bucket end time.- Returns:
- the bucketEndTimeUtc value.
-
withBucketEndTimeUtc
Set the bucketEndTimeUtc property: The grouping bucket end time.- Parameters:
bucketEndTimeUtc
- the bucketEndTimeUtc value to set.- Returns:
- the ActivityTimelineItem object itself.
-
firstActivityTimeUtc
Get the firstActivityTimeUtc property: The time of the first activity in the grouping bucket.- Returns:
- the firstActivityTimeUtc value.
-
withFirstActivityTimeUtc
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
Get the lastActivityTimeUtc property: The time of the last activity in the grouping bucket.- Returns:
- the lastActivityTimeUtc value.
-
withLastActivityTimeUtc
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
Get the content property: The activity timeline content.- Returns:
- the content value.
-
withContent
Set the content property: The activity timeline content.- Parameters:
content
- the content value to set.- Returns:
- the ActivityTimelineItem object itself.
-
title
Get the title property: The activity timeline title.- Returns:
- the title value.
-
withTitle
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 classEntityTimelineItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-