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