Class HuntingBookmark
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
-
- com.azure.resourcemanager.securityinsights.models.HuntingBookmark
-
public final class HuntingBookmark extends EntityInner
Represents a Hunting bookmark entity.
-
-
Constructor Summary
Constructors Constructor Description HuntingBookmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalData()
Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.OffsetDateTime
created()
Get the created property: The time the bookmark was created.UserInfo
createdBy()
Get the createdBy property: Describes a user that created the bookmark.String
displayName()
Get the displayName property: The display name of the bookmark.OffsetDateTime
eventTime()
Get the eventTime property: The time of the event.String
friendlyName()
Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance.IncidentInfo
incidentInfo()
Get the incidentInfo property: Describes an incident that relates to bookmark.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.String
query()
Get the query property: The query of the bookmark.String
queryResult()
Get the queryResult property: The query result of the bookmark.OffsetDateTime
updated()
Get the updated property: The last time the bookmark was updated.UserInfo
updatedBy()
Get the updatedBy property: Describes a user that updated the bookmark.void
validate()
Validates the instance.HuntingBookmark
withCreated(OffsetDateTime created)
Set the created property: The time the bookmark was created.HuntingBookmark
withCreatedBy(UserInfo createdBy)
Set the createdBy property: Describes a user that created the bookmark.HuntingBookmark
withDisplayName(String displayName)
Set the displayName property: The display name of the bookmark.HuntingBookmark
withEventTime(OffsetDateTime eventTime)
Set the eventTime property: The time of the event.HuntingBookmark
withIncidentInfo(IncidentInfo incidentInfo)
Set the incidentInfo property: Describes an incident that relates to bookmark.HuntingBookmark
withLabels(List<String> labels)
Set the labels property: List of labels relevant to this bookmark.HuntingBookmark
withNotes(String notes)
Set the notes property: The notes of the bookmark.HuntingBookmark
withQuery(String query)
Set the query property: The query of the bookmark.HuntingBookmark
withQueryResult(String queryResult)
Set the queryResult property: The query result of the bookmark.HuntingBookmark
withUpdated(OffsetDateTime updated)
Set the updated property: The last time the bookmark was updated.HuntingBookmark
withUpdatedBy(UserInfo updatedBy)
Set the updatedBy property: Describes a user that updated the bookmark.-
Methods inherited from class com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
systemData
-
-
-
-
Method Detail
-
created
public OffsetDateTime created()
Get the created property: The time the bookmark was created.- Returns:
- the created value.
-
withCreated
public HuntingBookmark withCreated(OffsetDateTime created)
Set the created property: The time the bookmark was created.- Parameters:
created
- the created value to set.- Returns:
- the HuntingBookmark object itself.
-
createdBy
public UserInfo createdBy()
Get the createdBy property: Describes a user that created the bookmark.- Returns:
- the createdBy value.
-
withCreatedBy
public HuntingBookmark withCreatedBy(UserInfo createdBy)
Set the createdBy property: Describes a user that created the bookmark.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the HuntingBookmark object itself.
-
displayName
public String displayName()
Get the displayName property: The display name of the bookmark.- Returns:
- the displayName value.
-
withDisplayName
public HuntingBookmark withDisplayName(String displayName)
Set the displayName property: The display name of the bookmark.- Parameters:
displayName
- the displayName value to set.- Returns:
- the HuntingBookmark object itself.
-
eventTime
public OffsetDateTime eventTime()
Get the eventTime property: The time of the event.- Returns:
- the eventTime value.
-
withEventTime
public HuntingBookmark withEventTime(OffsetDateTime eventTime)
Set the eventTime property: The time of the event.- Parameters:
eventTime
- the eventTime value to set.- Returns:
- the HuntingBookmark object itself.
-
labels
public List<String> labels()
Get the labels property: List of labels relevant to this bookmark.- Returns:
- the labels value.
-
withLabels
public HuntingBookmark withLabels(List<String> labels)
Set the labels property: List of labels relevant to this bookmark.- Parameters:
labels
- the labels value to set.- Returns:
- the HuntingBookmark object itself.
-
notes
public String notes()
Get the notes property: The notes of the bookmark.- Returns:
- the notes value.
-
withNotes
public HuntingBookmark withNotes(String notes)
Set the notes property: The notes of the bookmark.- Parameters:
notes
- the notes value to set.- Returns:
- the HuntingBookmark object itself.
-
query
public String query()
Get the query property: The query of the bookmark.- Returns:
- the query value.
-
withQuery
public HuntingBookmark withQuery(String query)
Set the query property: The query of the bookmark.- Parameters:
query
- the query value to set.- Returns:
- the HuntingBookmark object itself.
-
queryResult
public String queryResult()
Get the queryResult property: The query result of the bookmark.- Returns:
- the queryResult value.
-
withQueryResult
public HuntingBookmark withQueryResult(String queryResult)
Set the queryResult property: The query result of the bookmark.- Parameters:
queryResult
- the queryResult value to set.- Returns:
- the HuntingBookmark object itself.
-
updated
public OffsetDateTime updated()
Get the updated property: The last time the bookmark was updated.- Returns:
- the updated value.
-
withUpdated
public HuntingBookmark withUpdated(OffsetDateTime updated)
Set the updated property: The last time the bookmark was updated.- Parameters:
updated
- the updated value to set.- Returns:
- the HuntingBookmark object itself.
-
updatedBy
public UserInfo updatedBy()
Get the updatedBy property: Describes a user that updated the bookmark.- Returns:
- the updatedBy value.
-
withUpdatedBy
public HuntingBookmark withUpdatedBy(UserInfo updatedBy)
Set the updatedBy property: Describes a user that updated the bookmark.- Parameters:
updatedBy
- the updatedBy value to set.- Returns:
- the HuntingBookmark object itself.
-
incidentInfo
public IncidentInfo incidentInfo()
Get the incidentInfo property: Describes an incident that relates to bookmark.- Returns:
- the incidentInfo value.
-
withIncidentInfo
public HuntingBookmark withIncidentInfo(IncidentInfo incidentInfo)
Set the incidentInfo property: Describes an incident that relates to bookmark.- Parameters:
incidentInfo
- the incidentInfo value to set.- Returns:
- the HuntingBookmark object itself.
-
additionalData
public Map<String,Object> additionalData()
Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.- Returns:
- the additionalData value.
-
friendlyName
public String friendlyName()
Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.- Returns:
- the friendlyName value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-