Class InsightQueryItemProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityQueryItemProperties
com.azure.resourcemanager.securityinsights.models.InsightQueryItemProperties
Represents Insight Query.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalQuery property: The activity query definitions.Get the baseQuery property: The base query of the insight.Get the chartQuery property: The insight chart query.Get the defaultTimeRange property: The insight chart query.Get the description property: The insight description.Get the displayName property: The insight display name.Get the referenceTimeRange property: The insight chart query.Get the tableQuery property: The insight table query.void
validate()
Validates the instance.withAdditionalQuery
(InsightQueryItemPropertiesAdditionalQuery additionalQuery) Set the additionalQuery property: The activity query definitions.withBaseQuery
(String baseQuery) Set the baseQuery property: The base query of the insight.withChartQuery
(Object chartQuery) Set the chartQuery property: The insight chart query.withDataTypes
(List<EntityQueryItemPropertiesDataTypesItem> dataTypes) Set the dataTypes property: Data types for template.withDefaultTimeRange
(InsightQueryItemPropertiesDefaultTimeRange defaultTimeRange) Set the defaultTimeRange property: The insight chart query.withDescription
(String description) Set the description property: The insight description.withDisplayName
(String displayName) Set the displayName property: The insight display name.withEntitiesFilter
(Object entitiesFilter) Set the entitiesFilter property: The query applied only to entities matching to all filters.withInputEntityType
(EntityType inputEntityType) Set the inputEntityType property: The type of the entity.withReferenceTimeRange
(InsightQueryItemPropertiesReferenceTimeRange referenceTimeRange) Set the referenceTimeRange property: The insight chart query.withRequiredInputFieldsSets
(List<List<String>> requiredInputFieldsSets) Set the requiredInputFieldsSets property: Data types for template.withTableQuery
(InsightQueryItemPropertiesTableQuery tableQuery) Set the tableQuery property: The insight table query.Methods inherited from class com.azure.resourcemanager.securityinsights.models.EntityQueryItemProperties
dataTypes, entitiesFilter, inputEntityType, requiredInputFieldsSets
-
Constructor Details
-
InsightQueryItemProperties
public InsightQueryItemProperties()
-
-
Method Details
-
displayName
Get the displayName property: The insight display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The insight display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
description
Get the description property: The insight description.- Returns:
- the description value.
-
withDescription
Set the description property: The insight description.- Parameters:
description
- the description value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
baseQuery
Get the baseQuery property: The base query of the insight.- Returns:
- the baseQuery value.
-
withBaseQuery
Set the baseQuery property: The base query of the insight.- Parameters:
baseQuery
- the baseQuery value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
tableQuery
Get the tableQuery property: The insight table query.- Returns:
- the tableQuery value.
-
withTableQuery
Set the tableQuery property: The insight table query.- Parameters:
tableQuery
- the tableQuery value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
chartQuery
Get the chartQuery property: The insight chart query.- Returns:
- the chartQuery value.
-
withChartQuery
Set the chartQuery property: The insight chart query.- Parameters:
chartQuery
- the chartQuery value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
additionalQuery
Get the additionalQuery property: The activity query definitions.- Returns:
- the additionalQuery value.
-
withAdditionalQuery
public InsightQueryItemProperties withAdditionalQuery(InsightQueryItemPropertiesAdditionalQuery additionalQuery) Set the additionalQuery property: The activity query definitions.- Parameters:
additionalQuery
- the additionalQuery value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
defaultTimeRange
Get the defaultTimeRange property: The insight chart query.- Returns:
- the defaultTimeRange value.
-
withDefaultTimeRange
public InsightQueryItemProperties withDefaultTimeRange(InsightQueryItemPropertiesDefaultTimeRange defaultTimeRange) Set the defaultTimeRange property: The insight chart query.- Parameters:
defaultTimeRange
- the defaultTimeRange value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
referenceTimeRange
Get the referenceTimeRange property: The insight chart query.- Returns:
- the referenceTimeRange value.
-
withReferenceTimeRange
public InsightQueryItemProperties withReferenceTimeRange(InsightQueryItemPropertiesReferenceTimeRange referenceTimeRange) Set the referenceTimeRange property: The insight chart query.- Parameters:
referenceTimeRange
- the referenceTimeRange value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
withDataTypes
public InsightQueryItemProperties withDataTypes(List<EntityQueryItemPropertiesDataTypesItem> dataTypes) Set the dataTypes property: Data types for template.- Overrides:
withDataTypes
in classEntityQueryItemProperties
- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the EntityQueryItemProperties object itself.
-
withInputEntityType
Set the inputEntityType property: The type of the entity.- Overrides:
withInputEntityType
in classEntityQueryItemProperties
- Parameters:
inputEntityType
- the inputEntityType value to set.- Returns:
- the EntityQueryItemProperties object itself.
-
withRequiredInputFieldsSets
public InsightQueryItemProperties withRequiredInputFieldsSets(List<List<String>> requiredInputFieldsSets) Set the requiredInputFieldsSets property: Data types for template.- Overrides:
withRequiredInputFieldsSets
in classEntityQueryItemProperties
- Parameters:
requiredInputFieldsSets
- the requiredInputFieldsSets value to set.- Returns:
- the EntityQueryItemProperties object itself.
-
withEntitiesFilter
Set the entitiesFilter property: The query applied only to entities matching to all filters.- Overrides:
withEntitiesFilter
in classEntityQueryItemProperties
- Parameters:
entitiesFilter
- the entitiesFilter value to set.- Returns:
- the EntityQueryItemProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEntityQueryItemProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-