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