Class ActivityEntityQuery
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.EntityQueryInner
com.azure.resourcemanager.securityinsights.models.ActivityEntityQuery
Represents Activity entity query.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontent()
Get the content property: The entity query content to display in timeline.Get the createdTimeUtc property: The time the activity was created.Get the description property: The entity query description.enabled()
Get the enabled property: Determines whether this activity is enabled or disabled.Get the entitiesFilter property: The query applied only to entities matching to all filters.Get the inputEntityType property: The type of the query's source entity.Get the lastModifiedTimeUtc property: The last time the activity was updated.Get the queryDefinitions property: The Activity query definitions.Get the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.Get the templateName property: The template id this activity was created from.title()
Get the title property: The entity query title.void
validate()
Validates the instance.withContent
(String content) Set the content property: The entity query content to display in timeline.withDescription
(String description) Set the description property: The entity query description.withEnabled
(Boolean enabled) Set the enabled property: Determines whether this activity is enabled or disabled.withEntitiesFilter
(Map<String, List<String>> entitiesFilter) Set the entitiesFilter property: The query applied only to entities matching to all filters.Set the etag property: Etag of the azure resource.withInputEntityType
(EntityType inputEntityType) Set the inputEntityType property: The type of the query's source entity.withQueryDefinitions
(ActivityEntityQueriesPropertiesQueryDefinitions queryDefinitions) Set the queryDefinitions property: The Activity query definitions.withRequiredInputFieldsSets
(List<List<String>> requiredInputFieldsSets) Set the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.withTemplateName
(String templateName) Set the templateName property: The template id this activity was created from.Set the title property: The entity query title.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
-
ActivityEntityQuery
public ActivityEntityQuery()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classEntityQueryInner
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
title
Get the title property: The entity query title.- Returns:
- the title value.
-
withTitle
Set the title property: The entity query title.- Parameters:
title
- the title value to set.- Returns:
- the ActivityEntityQuery object itself.
-
content
Get the content property: The entity query content to display in timeline.- Returns:
- the content value.
-
withContent
Set the content property: The entity query content to display in timeline.- Parameters:
content
- the content value to set.- Returns:
- the ActivityEntityQuery object itself.
-
description
Get the description property: The entity query description.- Returns:
- the description value.
-
withDescription
Set the description property: The entity query description.- Parameters:
description
- the description value to set.- Returns:
- the ActivityEntityQuery object itself.
-
queryDefinitions
Get the queryDefinitions property: The Activity query definitions.- Returns:
- the queryDefinitions value.
-
withQueryDefinitions
public ActivityEntityQuery withQueryDefinitions(ActivityEntityQueriesPropertiesQueryDefinitions queryDefinitions) Set the queryDefinitions property: The Activity query definitions.- Parameters:
queryDefinitions
- the queryDefinitions value to set.- Returns:
- the ActivityEntityQuery object itself.
-
inputEntityType
Get the inputEntityType property: The type of the query's source entity.- Returns:
- the inputEntityType value.
-
withInputEntityType
Set the inputEntityType property: The type of the query's source entity.- Parameters:
inputEntityType
- the inputEntityType value to set.- Returns:
- the ActivityEntityQuery object itself.
-
requiredInputFieldsSets
Get the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.- Returns:
- the requiredInputFieldsSets value.
-
withRequiredInputFieldsSets
Set the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.- Parameters:
requiredInputFieldsSets
- the requiredInputFieldsSets value to set.- Returns:
- the ActivityEntityQuery object itself.
-
entitiesFilter
Get the entitiesFilter property: The query applied only to entities matching to all filters.- Returns:
- the entitiesFilter value.
-
withEntitiesFilter
Set the entitiesFilter property: The query applied only to entities matching to all filters.- Parameters:
entitiesFilter
- the entitiesFilter value to set.- Returns:
- the ActivityEntityQuery object itself.
-
templateName
Get the templateName property: The template id this activity was created from.- Returns:
- the templateName value.
-
withTemplateName
Set the templateName property: The template id this activity was created from.- Parameters:
templateName
- the templateName value to set.- Returns:
- the ActivityEntityQuery object itself.
-
enabled
Get the enabled property: Determines whether this activity is enabled or disabled.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Determines whether this activity is enabled or disabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the ActivityEntityQuery object itself.
-
createdTimeUtc
Get the createdTimeUtc property: The time the activity was created.- Returns:
- the createdTimeUtc value.
-
lastModifiedTimeUtc
Get the lastModifiedTimeUtc property: The last time the activity was updated.- Returns:
- the lastModifiedTimeUtc value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEntityQueryInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-