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 Details

    • InsightQueryItemProperties

      public InsightQueryItemProperties()
  • Method Details

    • 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

      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

      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

      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

      Set the dataTypes property: Data types for template.
      Overrides:
      withDataTypes in class EntityQueryItemProperties
      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 class EntityQueryItemProperties
      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 class EntityQueryItemProperties
      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 class EntityQueryItemProperties
      Parameters:
      entitiesFilter - the entitiesFilter value to set.
      Returns:
      the EntityQueryItemProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class EntityQueryItemProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.