Class BookmarkTimelineItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityTimelineItem
com.azure.resourcemanager.securityinsights.models.BookmarkTimelineItem
Represents bookmark timeline item.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureResourceId property: The bookmark azure resource id.Get the createdBy property: Describes a user that created the bookmark.Get the displayName property: The bookmark display name.Get the endTimeUtc property: The bookmark end time.Get the eventTime property: The bookmark event time.labels()
Get the labels property: List of labels relevant to this bookmark.notes()
Get the notes property: The notes of the bookmark.Get the startTimeUtc property: The bookmark start time.void
validate()
Validates the instance.withAzureResourceId
(String azureResourceId) Set the azureResourceId property: The bookmark azure resource id.withCreatedBy
(UserInfo createdBy) Set the createdBy property: Describes a user that created the bookmark.withDisplayName
(String displayName) Set the displayName property: The bookmark display name.withEndTimeUtc
(OffsetDateTime endTimeUtc) Set the endTimeUtc property: The bookmark end time.withEventTime
(OffsetDateTime eventTime) Set the eventTime property: The bookmark event time.withLabels
(List<String> labels) Set the labels property: List of labels relevant to this bookmark.Set the notes property: The notes of the bookmark.withStartTimeUtc
(OffsetDateTime startTimeUtc) Set the startTimeUtc property: The bookmark start time.
-
Constructor Details
-
BookmarkTimelineItem
public BookmarkTimelineItem()
-
-
Method Details
-
azureResourceId
Get the azureResourceId property: The bookmark azure resource id.- Returns:
- the azureResourceId value.
-
withAzureResourceId
Set the azureResourceId property: The bookmark azure resource id.- Parameters:
azureResourceId
- the azureResourceId value to set.- Returns:
- the BookmarkTimelineItem object itself.
-
displayName
Get the displayName property: The bookmark display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The bookmark display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the BookmarkTimelineItem object itself.
-
notes
Get the notes property: The notes of the bookmark.- Returns:
- the notes value.
-
withNotes
Set the notes property: The notes of the bookmark.- Parameters:
notes
- the notes value to set.- Returns:
- the BookmarkTimelineItem object itself.
-
endTimeUtc
Get the endTimeUtc property: The bookmark end time.- Returns:
- the endTimeUtc value.
-
withEndTimeUtc
Set the endTimeUtc property: The bookmark end time.- Parameters:
endTimeUtc
- the endTimeUtc value to set.- Returns:
- the BookmarkTimelineItem object itself.
-
startTimeUtc
Get the startTimeUtc property: The bookmark start time.- Returns:
- the startTimeUtc value.
-
withStartTimeUtc
Set the startTimeUtc property: The bookmark start time.- Parameters:
startTimeUtc
- the startTimeUtc value to set.- Returns:
- the BookmarkTimelineItem object itself.
-
eventTime
Get the eventTime property: The bookmark event time.- Returns:
- the eventTime value.
-
withEventTime
Set the eventTime property: The bookmark event time.- Parameters:
eventTime
- the eventTime value to set.- Returns:
- the BookmarkTimelineItem object itself.
-
createdBy
Get the createdBy property: Describes a user that created the bookmark.- Returns:
- the createdBy value.
-
withCreatedBy
Set the createdBy property: Describes a user that created the bookmark.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the BookmarkTimelineItem object itself.
-
labels
Get the labels property: List of labels relevant to this bookmark.- Returns:
- the labels value.
-
withLabels
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 classEntityTimelineItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-