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 Summary
Constructors Constructor Description BookmarkTimelineItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
azureResourceId()
Get the azureResourceId property: The bookmark azure resource id.UserInfo
createdBy()
Get the createdBy property: Describes a user that created the bookmark.String
displayName()
Get the displayName property: The bookmark display name.OffsetDateTime
endTimeUtc()
Get the endTimeUtc property: The bookmark end time.OffsetDateTime
eventTime()
Get the eventTime property: The bookmark event time.List<String>
labels()
Get the labels property: List of labels relevant to this bookmark.String
notes()
Get the notes property: The notes of the bookmark.OffsetDateTime
startTimeUtc()
Get the startTimeUtc property: The bookmark start time.void
validate()
Validates the instance.BookmarkTimelineItem
withAzureResourceId(String azureResourceId)
Set the azureResourceId property: The bookmark azure resource id.BookmarkTimelineItem
withCreatedBy(UserInfo createdBy)
Set the createdBy property: Describes a user that created the bookmark.BookmarkTimelineItem
withDisplayName(String displayName)
Set the displayName property: The bookmark display name.BookmarkTimelineItem
withEndTimeUtc(OffsetDateTime endTimeUtc)
Set the endTimeUtc property: The bookmark end time.BookmarkTimelineItem
withEventTime(OffsetDateTime eventTime)
Set the eventTime property: The bookmark event time.BookmarkTimelineItem
withLabels(List<String> labels)
Set the labels property: List of labels relevant to this bookmark.BookmarkTimelineItem
withNotes(String notes)
Set the notes property: The notes of the bookmark.BookmarkTimelineItem
withStartTimeUtc(OffsetDateTime startTimeUtc)
Set the startTimeUtc property: The bookmark start time.
-
-
-
Method Detail
-
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 classEntityTimelineItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-