Class HuntingBookmarkProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EntityCommonProperties
-
- com.azure.resourcemanager.securityinsights.fluent.models.HuntingBookmarkProperties
-
public final class HuntingBookmarkProperties extends EntityCommonProperties
Describes bookmark properties.
-
-
Constructor Summary
Constructors Constructor Description HuntingBookmarkProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.HuntingBookmarkProperties
withCreated(OffsetDateTime created)
Set the created property: The time the bookmark was created.HuntingBookmarkProperties
withCreatedBy(UserInfo createdBy)
Set the createdBy property: Describes a user that created the bookmark.HuntingBookmarkProperties
withDisplayName(String displayName)
Set the displayName property: The display name of the bookmark.HuntingBookmarkProperties
withEventTime(OffsetDateTime eventTime)
Set the eventTime property: The time of the event.HuntingBookmarkProperties
withIncidentInfo(IncidentInfo incidentInfo)
Set the incidentInfo property: Describes an incident that relates to bookmark.HuntingBookmarkProperties
withLabels(List<String> labels)
Set the labels property: List of labels relevant to this bookmark.HuntingBookmarkProperties
withNotes(String notes)
Set the notes property: The notes of the bookmark.HuntingBookmarkProperties
withQuery(String query)
Set the query property: The query of the bookmark.HuntingBookmarkProperties
withQueryResult(String queryResult)
Set the queryResult property: The query result of the bookmark.HuntingBookmarkProperties
withUpdated(OffsetDateTime updated)
Set the updated property: The last time the bookmark was updated.HuntingBookmarkProperties
withUpdatedBy(UserInfo updatedBy)
Set the updatedBy property: Describes a user that updated the bookmark.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.EntityCommonProperties
additionalData, friendlyName
-
-
-
-
Method Detail
-
created
public OffsetDateTime created()
Get the created property: The time the bookmark was created.- Returns:
- the created value.
-
withCreated
public HuntingBookmarkProperties withCreated(OffsetDateTime created)
Set the created property: The time the bookmark was created.- Parameters:
created
- the created value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
createdBy
public UserInfo createdBy()
Get the createdBy property: Describes a user that created the bookmark.- Returns:
- the createdBy value.
-
withCreatedBy
public HuntingBookmarkProperties withCreatedBy(UserInfo createdBy)
Set the createdBy property: Describes a user that created the bookmark.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
displayName
public String displayName()
Get the displayName property: The display name of the bookmark.- Returns:
- the displayName value.
-
withDisplayName
public HuntingBookmarkProperties withDisplayName(String displayName)
Set the displayName property: The display name of the bookmark.- Parameters:
displayName
- the displayName value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
eventTime
public OffsetDateTime eventTime()
Get the eventTime property: The time of the event.- Returns:
- the eventTime value.
-
withEventTime
public HuntingBookmarkProperties withEventTime(OffsetDateTime eventTime)
Set the eventTime property: The time of the event.- Parameters:
eventTime
- the eventTime value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
labels
public List<String> labels()
Get the labels property: List of labels relevant to this bookmark.- Returns:
- the labels value.
-
withLabels
public HuntingBookmarkProperties withLabels(List<String> labels)
Set the labels property: List of labels relevant to this bookmark.- Parameters:
labels
- the labels value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
notes
public String notes()
Get the notes property: The notes of the bookmark.- Returns:
- the notes value.
-
withNotes
public HuntingBookmarkProperties withNotes(String notes)
Set the notes property: The notes of the bookmark.- Parameters:
notes
- the notes value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
query
public String query()
Get the query property: The query of the bookmark.- Returns:
- the query value.
-
withQuery
public HuntingBookmarkProperties withQuery(String query)
Set the query property: The query of the bookmark.- Parameters:
query
- the query value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
queryResult
public String queryResult()
Get the queryResult property: The query result of the bookmark.- Returns:
- the queryResult value.
-
withQueryResult
public HuntingBookmarkProperties withQueryResult(String queryResult)
Set the queryResult property: The query result of the bookmark.- Parameters:
queryResult
- the queryResult value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
updated
public OffsetDateTime updated()
Get the updated property: The last time the bookmark was updated.- Returns:
- the updated value.
-
withUpdated
public HuntingBookmarkProperties withUpdated(OffsetDateTime updated)
Set the updated property: The last time the bookmark was updated.- Parameters:
updated
- the updated value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
updatedBy
public UserInfo updatedBy()
Get the updatedBy property: Describes a user that updated the bookmark.- Returns:
- the updatedBy value.
-
withUpdatedBy
public HuntingBookmarkProperties withUpdatedBy(UserInfo updatedBy)
Set the updatedBy property: Describes a user that updated the bookmark.- Parameters:
updatedBy
- the updatedBy value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
incidentInfo
public IncidentInfo incidentInfo()
Get the incidentInfo property: Describes an incident that relates to bookmark.- Returns:
- the incidentInfo value.
-
withIncidentInfo
public HuntingBookmarkProperties withIncidentInfo(IncidentInfo incidentInfo)
Set the incidentInfo property: Describes an incident that relates to bookmark.- Parameters:
incidentInfo
- the incidentInfo value to set.- Returns:
- the HuntingBookmarkProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityCommonProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-