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
-
public final class ActivityEntityQuery extends EntityQueryInner
Represents Activity entity query.
-
-
Constructor Summary
Constructors Constructor Description ActivityEntityQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
content()
Get the content property: The entity query content to display in timeline.OffsetDateTime
createdTimeUtc()
Get the createdTimeUtc property: The time the activity was created.String
description()
Get the description property: The entity query description.Boolean
enabled()
Get the enabled property: Determines whether this activity is enabled or disabled.Map<String,List<String>>
entitiesFilter()
Get the entitiesFilter property: The query applied only to entities matching to all filters.EntityType
inputEntityType()
Get the inputEntityType property: The type of the query's source entity.OffsetDateTime
lastModifiedTimeUtc()
Get the lastModifiedTimeUtc property: The last time the activity was updated.ActivityEntityQueriesPropertiesQueryDefinitions
queryDefinitions()
Get the queryDefinitions property: The Activity query definitions.List<List<String>>
requiredInputFieldsSets()
Get the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.String
templateName()
Get the templateName property: The template id this activity was created from.String
title()
Get the title property: The entity query title.void
validate()
Validates the instance.ActivityEntityQuery
withContent(String content)
Set the content property: The entity query content to display in timeline.ActivityEntityQuery
withDescription(String description)
Set the description property: The entity query description.ActivityEntityQuery
withEnabled(Boolean enabled)
Set the enabled property: Determines whether this activity is enabled or disabled.ActivityEntityQuery
withEntitiesFilter(Map<String,List<String>> entitiesFilter)
Set the entitiesFilter property: The query applied only to entities matching to all filters.ActivityEntityQuery
withEtag(String etag)
Set the etag property: Etag of the azure resource.ActivityEntityQuery
withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the query's source entity.ActivityEntityQuery
withQueryDefinitions(ActivityEntityQueriesPropertiesQueryDefinitions queryDefinitions)
Set the queryDefinitions property: The Activity query definitions.ActivityEntityQuery
withRequiredInputFieldsSets(List<List<String>> requiredInputFieldsSets)
Set the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.ActivityEntityQuery
withTemplateName(String templateName)
Set the templateName property: The template id this activity was created from.ActivityEntityQuery
withTitle(String title)
Set the title property: The entity query title.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public ActivityEntityQuery withEtag(String etag)
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
public String title()
Get the title property: The entity query title.- Returns:
- the title value.
-
withTitle
public ActivityEntityQuery withTitle(String title)
Set the title property: The entity query title.- Parameters:
title
- the title value to set.- Returns:
- the ActivityEntityQuery object itself.
-
content
public String content()
Get the content property: The entity query content to display in timeline.- Returns:
- the content value.
-
withContent
public ActivityEntityQuery withContent(String content)
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
public String description()
Get the description property: The entity query description.- Returns:
- the description value.
-
withDescription
public ActivityEntityQuery withDescription(String description)
Set the description property: The entity query description.- Parameters:
description
- the description value to set.- Returns:
- the ActivityEntityQuery object itself.
-
queryDefinitions
public ActivityEntityQueriesPropertiesQueryDefinitions 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
public EntityType inputEntityType()
Get the inputEntityType property: The type of the query's source entity.- Returns:
- the inputEntityType value.
-
withInputEntityType
public ActivityEntityQuery withInputEntityType(EntityType inputEntityType)
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
public List<List<String>> 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
public ActivityEntityQuery withRequiredInputFieldsSets(List<List<String>> requiredInputFieldsSets)
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
public Map<String,List<String>> entitiesFilter()
Get the entitiesFilter property: The query applied only to entities matching to all filters.- Returns:
- the entitiesFilter value.
-
withEntitiesFilter
public ActivityEntityQuery withEntitiesFilter(Map<String,List<String>> entitiesFilter)
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
public String templateName()
Get the templateName property: The template id this activity was created from.- Returns:
- the templateName value.
-
withTemplateName
public ActivityEntityQuery withTemplateName(String templateName)
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
public Boolean enabled()
Get the enabled property: Determines whether this activity is enabled or disabled.- Returns:
- the enabled value.
-
withEnabled
public ActivityEntityQuery withEnabled(Boolean enabled)
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
public OffsetDateTime createdTimeUtc()
Get the createdTimeUtc property: The time the activity was created.- Returns:
- the createdTimeUtc value.
-
lastModifiedTimeUtc
public OffsetDateTime 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.
-
-