Class EntityInsightItem
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EntityInsightItem
-
public final class EntityInsightItem extends Object
Entity insight Item.
-
-
Constructor Summary
Constructors Constructor Description EntityInsightItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<InsightsTableResult>
chartQueryResults()
Get the chartQueryResults property: Query results for table insights query.String
queryId()
Get the queryId property: The query id of the insight.EntityInsightItemQueryTimeInterval
queryTimeInterval()
Get the queryTimeInterval property: The Time interval that the query actually executed on.InsightsTableResult
tableQueryResults()
Get the tableQueryResults property: Query results for table insights query.void
validate()
Validates the instance.EntityInsightItem
withChartQueryResults(List<InsightsTableResult> chartQueryResults)
Set the chartQueryResults property: Query results for table insights query.EntityInsightItem
withQueryId(String queryId)
Set the queryId property: The query id of the insight.EntityInsightItem
withQueryTimeInterval(EntityInsightItemQueryTimeInterval queryTimeInterval)
Set the queryTimeInterval property: The Time interval that the query actually executed on.EntityInsightItem
withTableQueryResults(InsightsTableResult tableQueryResults)
Set the tableQueryResults property: Query results for table insights query.
-
-
-
Method Detail
-
queryId
public String queryId()
Get the queryId property: The query id of the insight.- Returns:
- the queryId value.
-
withQueryId
public EntityInsightItem withQueryId(String queryId)
Set the queryId property: The query id of the insight.- Parameters:
queryId
- the queryId value to set.- Returns:
- the EntityInsightItem object itself.
-
queryTimeInterval
public EntityInsightItemQueryTimeInterval queryTimeInterval()
Get the queryTimeInterval property: The Time interval that the query actually executed on.- Returns:
- the queryTimeInterval value.
-
withQueryTimeInterval
public EntityInsightItem withQueryTimeInterval(EntityInsightItemQueryTimeInterval queryTimeInterval)
Set the queryTimeInterval property: The Time interval that the query actually executed on.- Parameters:
queryTimeInterval
- the queryTimeInterval value to set.- Returns:
- the EntityInsightItem object itself.
-
tableQueryResults
public InsightsTableResult tableQueryResults()
Get the tableQueryResults property: Query results for table insights query.- Returns:
- the tableQueryResults value.
-
withTableQueryResults
public EntityInsightItem withTableQueryResults(InsightsTableResult tableQueryResults)
Set the tableQueryResults property: Query results for table insights query.- Parameters:
tableQueryResults
- the tableQueryResults value to set.- Returns:
- the EntityInsightItem object itself.
-
chartQueryResults
public List<InsightsTableResult> chartQueryResults()
Get the chartQueryResults property: Query results for table insights query.- Returns:
- the chartQueryResults value.
-
withChartQueryResults
public EntityInsightItem withChartQueryResults(List<InsightsTableResult> chartQueryResults)
Set the chartQueryResults property: Query results for table insights query.- Parameters:
chartQueryResults
- the chartQueryResults value to set.- Returns:
- the EntityInsightItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-