Class ActivityEntityQueryTemplate
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.securityinsights.fluent.models.EntityQueryTemplateInner
-
- com.azure.resourcemanager.securityinsights.models.ActivityEntityQueryTemplate
-
public final class ActivityEntityQueryTemplate extends EntityQueryTemplateInner
Represents Activity entity query.
-
-
Constructor Summary
Constructors Constructor Description ActivityEntityQueryTemplate()
-
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.List<DataTypeDefinitions>
dataTypes()
Get the dataTypes property: List of required data types for the given entity query template.String
description()
Get the description property: The entity query description.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.ActivityEntityQueryTemplatePropertiesQueryDefinitions
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
title()
Get the title property: The entity query title.void
validate()
Validates the instance.ActivityEntityQueryTemplate
withContent(String content)
Set the content property: The entity query content to display in timeline.ActivityEntityQueryTemplate
withDataTypes(List<DataTypeDefinitions> dataTypes)
Set the dataTypes property: List of required data types for the given entity query template.ActivityEntityQueryTemplate
withDescription(String description)
Set the description property: The entity query description.ActivityEntityQueryTemplate
withEntitiesFilter(Map<String,List<String>> entitiesFilter)
Set the entitiesFilter property: The query applied only to entities matching to all filters.ActivityEntityQueryTemplate
withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the query's source entity.ActivityEntityQueryTemplate
withQueryDefinitions(ActivityEntityQueryTemplatePropertiesQueryDefinitions queryDefinitions)
Set the queryDefinitions property: The Activity query definitions.ActivityEntityQueryTemplate
withRequiredInputFieldsSets(List<List<String>> requiredInputFieldsSets)
Set the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.ActivityEntityQueryTemplate
withTitle(String title)
Set the title property: The entity query title.-
Methods inherited from class com.azure.resourcemanager.securityinsights.fluent.models.EntityQueryTemplateInner
systemData
-
-
-
-
Method Detail
-
title
public String title()
Get the title property: The entity query title.- Returns:
- the title value.
-
withTitle
public ActivityEntityQueryTemplate withTitle(String title)
Set the title property: The entity query title.- Parameters:
title
- the title value to set.- Returns:
- the ActivityEntityQueryTemplate object itself.
-
content
public String content()
Get the content property: The entity query content to display in timeline.- Returns:
- the content value.
-
withContent
public ActivityEntityQueryTemplate withContent(String content)
Set the content property: The entity query content to display in timeline.- Parameters:
content
- the content value to set.- Returns:
- the ActivityEntityQueryTemplate object itself.
-
description
public String description()
Get the description property: The entity query description.- Returns:
- the description value.
-
withDescription
public ActivityEntityQueryTemplate withDescription(String description)
Set the description property: The entity query description.- Parameters:
description
- the description value to set.- Returns:
- the ActivityEntityQueryTemplate object itself.
-
queryDefinitions
public ActivityEntityQueryTemplatePropertiesQueryDefinitions queryDefinitions()
Get the queryDefinitions property: The Activity query definitions.- Returns:
- the queryDefinitions value.
-
withQueryDefinitions
public ActivityEntityQueryTemplate withQueryDefinitions(ActivityEntityQueryTemplatePropertiesQueryDefinitions queryDefinitions)
Set the queryDefinitions property: The Activity query definitions.- Parameters:
queryDefinitions
- the queryDefinitions value to set.- Returns:
- the ActivityEntityQueryTemplate object itself.
-
dataTypes
public List<DataTypeDefinitions> dataTypes()
Get the dataTypes property: List of required data types for the given entity query template.- Returns:
- the dataTypes value.
-
withDataTypes
public ActivityEntityQueryTemplate withDataTypes(List<DataTypeDefinitions> dataTypes)
Set the dataTypes property: List of required data types for the given entity query template.- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the ActivityEntityQueryTemplate object itself.
-
inputEntityType
public EntityType inputEntityType()
Get the inputEntityType property: The type of the query's source entity.- Returns:
- the inputEntityType value.
-
withInputEntityType
public ActivityEntityQueryTemplate withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the query's source entity.- Parameters:
inputEntityType
- the inputEntityType value to set.- Returns:
- the ActivityEntityQueryTemplate 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 ActivityEntityQueryTemplate 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 ActivityEntityQueryTemplate 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 ActivityEntityQueryTemplate 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 ActivityEntityQueryTemplate object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityQueryTemplateInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-