Class WatchlistInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.WatchlistInner
Represents a Watchlist in Azure Security Insights.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the contentType property: The content type of the raw content.created()
Get the created property: The time the watchlist was created.Get the createdBy property: Describes a user that created the watchlist.Get the defaultDuration property: The default duration of a watchlist (in ISO 8601 duration format).Get the description property: A description of the watchlist.Get the displayName property: The display name of the watchlist.Get the isDeleted property: A flag that indicates if the watchlist is deleted or not.Get the itemsSearchKey property: The search key is used to optimize query performance when using watchlists for joins with other data.labels()
Get the labels property: List of labels relevant to this watchlist.Get the numberOfLinesToSkip property: The number of lines in a csv/tsv content to skip before the header.provider()
Get the provider property: The provider of the watchlist.Get the rawContent property: The raw content that represents to watchlist items to create.source()
Get the source property: The filename of the watchlist, called 'source'.Get the sourceType property: The sourceType of the watchlist.tenantId()
Get the tenantId property: The tenantId where the watchlist belongs to.updated()
Get the updated property: The last time the watchlist was updated.Get the updatedBy property: Describes a user that updated the watchlist.Get the uploadStatus property: The status of the Watchlist upload : New, InProgress or Complete.void
validate()
Validates the instance.Get the watchlistAlias property: The alias of the watchlist.Get the watchlistId property: The id (a Guid) of the watchlist.Get the watchlistType property: The type of the watchlist.withContentType
(String contentType) Set the contentType property: The content type of the raw content.withCreated
(OffsetDateTime created) Set the created property: The time the watchlist was created.withCreatedBy
(UserInfo createdBy) Set the createdBy property: Describes a user that created the watchlist.withDefaultDuration
(Duration defaultDuration) Set the defaultDuration property: The default duration of a watchlist (in ISO 8601 duration format).withDescription
(String description) Set the description property: A description of the watchlist.withDisplayName
(String displayName) Set the displayName property: The display name of the watchlist.Set the etag property: Etag of the azure resource.withIsDeleted
(Boolean isDeleted) Set the isDeleted property: A flag that indicates if the watchlist is deleted or not.withItemsSearchKey
(String itemsSearchKey) Set the itemsSearchKey property: The search key is used to optimize query performance when using watchlists for joins with other data.withLabels
(List<String> labels) Set the labels property: List of labels relevant to this watchlist.withNumberOfLinesToSkip
(Integer numberOfLinesToSkip) Set the numberOfLinesToSkip property: The number of lines in a csv/tsv content to skip before the header.withProvider
(String provider) Set the provider property: The provider of the watchlist.withRawContent
(String rawContent) Set the rawContent property: The raw content that represents to watchlist items to create.withSource
(String source) Set the source property: The filename of the watchlist, called 'source'.withSourceType
(SourceType sourceType) Set the sourceType property: The sourceType of the watchlist.withTenantId
(String tenantId) Set the tenantId property: The tenantId where the watchlist belongs to.withUpdated
(OffsetDateTime updated) Set the updated property: The last time the watchlist was updated.withUpdatedBy
(UserInfo updatedBy) Set the updatedBy property: Describes a user that updated the watchlist.withUploadStatus
(String uploadStatus) Set the uploadStatus property: The status of the Watchlist upload : New, InProgress or Complete.withWatchlistAlias
(String watchlistAlias) Set the watchlistAlias property: The alias of the watchlist.withWatchlistId
(String watchlistId) Set the watchlistId property: The id (a Guid) of the watchlist.withWatchlistType
(String watchlistType) Set the watchlistType property: The type of the watchlist.Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WatchlistInner
public WatchlistInner()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classResourceWithEtag
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
watchlistId
Get the watchlistId property: The id (a Guid) of the watchlist.- Returns:
- the watchlistId value.
-
withWatchlistId
Set the watchlistId property: The id (a Guid) of the watchlist.- Parameters:
watchlistId
- the watchlistId value to set.- Returns:
- the WatchlistInner object itself.
-
displayName
Get the displayName property: The display name of the watchlist.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the watchlist.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WatchlistInner object itself.
-
provider
Get the provider property: The provider of the watchlist.- Returns:
- the provider value.
-
withProvider
Set the provider property: The provider of the watchlist.- Parameters:
provider
- the provider value to set.- Returns:
- the WatchlistInner object itself.
-
source
Get the source property: The filename of the watchlist, called 'source'.- Returns:
- the source value.
-
withSource
Set the source property: The filename of the watchlist, called 'source'.- Parameters:
source
- the source value to set.- Returns:
- the WatchlistInner object itself.
-
sourceType
Get the sourceType property: The sourceType of the watchlist.- Returns:
- the sourceType value.
-
withSourceType
Set the sourceType property: The sourceType of the watchlist.- Parameters:
sourceType
- the sourceType value to set.- Returns:
- the WatchlistInner object itself.
-
created
Get the created property: The time the watchlist was created.- Returns:
- the created value.
-
withCreated
Set the created property: The time the watchlist was created.- Parameters:
created
- the created value to set.- Returns:
- the WatchlistInner object itself.
-
updated
Get the updated property: The last time the watchlist was updated.- Returns:
- the updated value.
-
withUpdated
Set the updated property: The last time the watchlist was updated.- Parameters:
updated
- the updated value to set.- Returns:
- the WatchlistInner object itself.
-
createdBy
Get the createdBy property: Describes a user that created the watchlist.- Returns:
- the createdBy value.
-
withCreatedBy
Set the createdBy property: Describes a user that created the watchlist.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the WatchlistInner object itself.
-
updatedBy
Get the updatedBy property: Describes a user that updated the watchlist.- Returns:
- the updatedBy value.
-
withUpdatedBy
Set the updatedBy property: Describes a user that updated the watchlist.- Parameters:
updatedBy
- the updatedBy value to set.- Returns:
- the WatchlistInner object itself.
-
description
Get the description property: A description of the watchlist.- Returns:
- the description value.
-
withDescription
Set the description property: A description of the watchlist.- Parameters:
description
- the description value to set.- Returns:
- the WatchlistInner object itself.
-
watchlistType
Get the watchlistType property: The type of the watchlist.- Returns:
- the watchlistType value.
-
withWatchlistType
Set the watchlistType property: The type of the watchlist.- Parameters:
watchlistType
- the watchlistType value to set.- Returns:
- the WatchlistInner object itself.
-
watchlistAlias
Get the watchlistAlias property: The alias of the watchlist.- Returns:
- the watchlistAlias value.
-
withWatchlistAlias
Set the watchlistAlias property: The alias of the watchlist.- Parameters:
watchlistAlias
- the watchlistAlias value to set.- Returns:
- the WatchlistInner object itself.
-
isDeleted
Get the isDeleted property: A flag that indicates if the watchlist is deleted or not.- Returns:
- the isDeleted value.
-
withIsDeleted
Set the isDeleted property: A flag that indicates if the watchlist is deleted or not.- Parameters:
isDeleted
- the isDeleted value to set.- Returns:
- the WatchlistInner object itself.
-
labels
Get the labels property: List of labels relevant to this watchlist.- Returns:
- the labels value.
-
withLabels
Set the labels property: List of labels relevant to this watchlist.- Parameters:
labels
- the labels value to set.- Returns:
- the WatchlistInner object itself.
-
defaultDuration
Get the defaultDuration property: The default duration of a watchlist (in ISO 8601 duration format).- Returns:
- the defaultDuration value.
-
withDefaultDuration
Set the defaultDuration property: The default duration of a watchlist (in ISO 8601 duration format).- Parameters:
defaultDuration
- the defaultDuration value to set.- Returns:
- the WatchlistInner object itself.
-
tenantId
Get the tenantId property: The tenantId where the watchlist belongs to.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The tenantId where the watchlist belongs to.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the WatchlistInner object itself.
-
numberOfLinesToSkip
Get the numberOfLinesToSkip property: The number of lines in a csv/tsv content to skip before the header.- Returns:
- the numberOfLinesToSkip value.
-
withNumberOfLinesToSkip
Set the numberOfLinesToSkip property: The number of lines in a csv/tsv content to skip before the header.- Parameters:
numberOfLinesToSkip
- the numberOfLinesToSkip value to set.- Returns:
- the WatchlistInner object itself.
-
rawContent
Get the rawContent property: The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint.- Returns:
- the rawContent value.
-
withRawContent
Set the rawContent property: The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint.- Parameters:
rawContent
- the rawContent value to set.- Returns:
- the WatchlistInner object itself.
-
itemsSearchKey
Get the itemsSearchKey property: The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.- Returns:
- the itemsSearchKey value.
-
withItemsSearchKey
Set the itemsSearchKey property: The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.- Parameters:
itemsSearchKey
- the itemsSearchKey value to set.- Returns:
- the WatchlistInner object itself.
-
contentType
Get the contentType property: The content type of the raw content. Example : text/csv or text/tsv.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: The content type of the raw content. Example : text/csv or text/tsv.- Parameters:
contentType
- the contentType value to set.- Returns:
- the WatchlistInner object itself.
-
uploadStatus
Get the uploadStatus property: The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted.- Returns:
- the uploadStatus value.
-
withUploadStatus
Set the uploadStatus property: The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted.- Parameters:
uploadStatus
- the uploadStatus value to set.- Returns:
- the WatchlistInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceWithEtag
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-