Class ActivityEntityQueryTemplatePropertiesQueryDefinitions
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.ActivityEntityQueryTemplatePropertiesQueryDefinitions
-
public final class ActivityEntityQueryTemplatePropertiesQueryDefinitions extends Object
The Activity query definitions.
-
-
Constructor Summary
Constructors Constructor Description ActivityEntityQueryTemplatePropertiesQueryDefinitions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
query()
Get the query property: The Activity query to run on a given entity.String
summarizeBy()
Get the summarizeBy property: The dimensions we want to summarize the timeline results on, this is comma separated list.void
validate()
Validates the instance.ActivityEntityQueryTemplatePropertiesQueryDefinitions
withQuery(String query)
Set the query property: The Activity query to run on a given entity.ActivityEntityQueryTemplatePropertiesQueryDefinitions
withSummarizeBy(String summarizeBy)
Set the summarizeBy property: The dimensions we want to summarize the timeline results on, this is comma separated list.
-
-
-
Method Detail
-
query
public String query()
Get the query property: The Activity query to run on a given entity.- Returns:
- the query value.
-
withQuery
public ActivityEntityQueryTemplatePropertiesQueryDefinitions withQuery(String query)
Set the query property: The Activity query to run on a given entity.- Parameters:
query
- the query value to set.- Returns:
- the ActivityEntityQueryTemplatePropertiesQueryDefinitions object itself.
-
summarizeBy
public String summarizeBy()
Get the summarizeBy property: The dimensions we want to summarize the timeline results on, this is comma separated list.- Returns:
- the summarizeBy value.
-
withSummarizeBy
public ActivityEntityQueryTemplatePropertiesQueryDefinitions withSummarizeBy(String summarizeBy)
Set the summarizeBy property: The dimensions we want to summarize the timeline results on, this is comma separated list.- Parameters:
summarizeBy
- the summarizeBy value to set.- Returns:
- the ActivityEntityQueryTemplatePropertiesQueryDefinitions object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-