Class InsightQueryItemProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EntityQueryItemProperties
-
- com.azure.resourcemanager.securityinsights.models.InsightQueryItemProperties
-
public final class InsightQueryItemProperties extends EntityQueryItemProperties
Represents Insight Query.
-
-
Constructor Summary
Constructors Constructor Description InsightQueryItemProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightQueryItemPropertiesAdditionalQuery
additionalQuery()
Get the additionalQuery property: The activity query definitions.String
baseQuery()
Get the baseQuery property: The base query of the insight.Object
chartQuery()
Get the chartQuery property: The insight chart query.InsightQueryItemPropertiesDefaultTimeRange
defaultTimeRange()
Get the defaultTimeRange property: The insight chart query.String
description()
Get the description property: The insight description.String
displayName()
Get the displayName property: The insight display name.InsightQueryItemPropertiesReferenceTimeRange
referenceTimeRange()
Get the referenceTimeRange property: The insight chart query.InsightQueryItemPropertiesTableQuery
tableQuery()
Get the tableQuery property: The insight table query.void
validate()
Validates the instance.InsightQueryItemProperties
withAdditionalQuery(InsightQueryItemPropertiesAdditionalQuery additionalQuery)
Set the additionalQuery property: The activity query definitions.InsightQueryItemProperties
withBaseQuery(String baseQuery)
Set the baseQuery property: The base query of the insight.InsightQueryItemProperties
withChartQuery(Object chartQuery)
Set the chartQuery property: The insight chart query.InsightQueryItemProperties
withDataTypes(List<EntityQueryItemPropertiesDataTypesItem> dataTypes)
Set the dataTypes property: Data types for template.InsightQueryItemProperties
withDefaultTimeRange(InsightQueryItemPropertiesDefaultTimeRange defaultTimeRange)
Set the defaultTimeRange property: The insight chart query.InsightQueryItemProperties
withDescription(String description)
Set the description property: The insight description.InsightQueryItemProperties
withDisplayName(String displayName)
Set the displayName property: The insight display name.InsightQueryItemProperties
withEntitiesFilter(Object entitiesFilter)
Set the entitiesFilter property: The query applied only to entities matching to all filters.InsightQueryItemProperties
withInputEntityType(EntityType inputEntityType)
Set the inputEntityType property: The type of the entity.InsightQueryItemProperties
withReferenceTimeRange(InsightQueryItemPropertiesReferenceTimeRange referenceTimeRange)
Set the referenceTimeRange property: The insight chart query.InsightQueryItemProperties
withRequiredInputFieldsSets(List<List<String>> requiredInputFieldsSets)
Set the requiredInputFieldsSets property: Data types for template.InsightQueryItemProperties
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
-
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: The insight display name.- Returns:
- the displayName value.
-
withDisplayName
public InsightQueryItemProperties withDisplayName(String displayName)
Set the displayName property: The insight display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
description
public String description()
Get the description property: The insight description.- Returns:
- the description value.
-
withDescription
public InsightQueryItemProperties withDescription(String description)
Set the description property: The insight description.- Parameters:
description
- the description value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
baseQuery
public String baseQuery()
Get the baseQuery property: The base query of the insight.- Returns:
- the baseQuery value.
-
withBaseQuery
public InsightQueryItemProperties withBaseQuery(String baseQuery)
Set the baseQuery property: The base query of the insight.- Parameters:
baseQuery
- the baseQuery value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
tableQuery
public InsightQueryItemPropertiesTableQuery tableQuery()
Get the tableQuery property: The insight table query.- Returns:
- the tableQuery value.
-
withTableQuery
public InsightQueryItemProperties withTableQuery(InsightQueryItemPropertiesTableQuery tableQuery)
Set the tableQuery property: The insight table query.- Parameters:
tableQuery
- the tableQuery value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
chartQuery
public Object chartQuery()
Get the chartQuery property: The insight chart query.- Returns:
- the chartQuery value.
-
withChartQuery
public InsightQueryItemProperties withChartQuery(Object chartQuery)
Set the chartQuery property: The insight chart query.- Parameters:
chartQuery
- the chartQuery value to set.- Returns:
- the InsightQueryItemProperties object itself.
-
additionalQuery
public InsightQueryItemPropertiesAdditionalQuery 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
public InsightQueryItemPropertiesDefaultTimeRange 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
public InsightQueryItemPropertiesReferenceTimeRange 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
public InsightQueryItemProperties withInputEntityType(EntityType inputEntityType)
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
public InsightQueryItemProperties withEntitiesFilter(Object entitiesFilter)
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.
-
-