Class SearchResults
java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchResults
Parameters of the search job that initiated this table.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Search job Description.Get the endSearchTime property: The timestamp to end the search by (UTC).limit()
Get the limit property: Limit the search job to return up to specified number of rows.query()
Get the query property: Search job query.Get the sourceTable property: The table used in the search job.Get the startSearchTime property: The timestamp to start the search from (UTC).void
validate()
Validates the instance.withDescription
(String description) Set the description property: Search job Description.withEndSearchTime
(OffsetDateTime endSearchTime) Set the endSearchTime property: The timestamp to end the search by (UTC).Set the limit property: Limit the search job to return up to specified number of rows.Set the query property: Search job query.withStartSearchTime
(OffsetDateTime startSearchTime) Set the startSearchTime property: The timestamp to start the search from (UTC).
-
Constructor Details
-
SearchResults
public SearchResults()
-
-
Method Details
-
query
Get the query property: Search job query.- Returns:
- the query value.
-
withQuery
Set the query property: Search job query.- Parameters:
query
- the query value to set.- Returns:
- the SearchResults object itself.
-
description
Get the description property: Search job Description.- Returns:
- the description value.
-
withDescription
Set the description property: Search job Description.- Parameters:
description
- the description value to set.- Returns:
- the SearchResults object itself.
-
limit
Get the limit property: Limit the search job to return up to specified number of rows.- Returns:
- the limit value.
-
withLimit
Set the limit property: Limit the search job to return up to specified number of rows.- Parameters:
limit
- the limit value to set.- Returns:
- the SearchResults object itself.
-
startSearchTime
Get the startSearchTime property: The timestamp to start the search from (UTC).- Returns:
- the startSearchTime value.
-
withStartSearchTime
Set the startSearchTime property: The timestamp to start the search from (UTC).- Parameters:
startSearchTime
- the startSearchTime value to set.- Returns:
- the SearchResults object itself.
-
endSearchTime
Get the endSearchTime property: The timestamp to end the search by (UTC).- Returns:
- the endSearchTime value.
-
withEndSearchTime
Set the endSearchTime property: The timestamp to end the search by (UTC).- Parameters:
endSearchTime
- the endSearchTime value to set.- Returns:
- the SearchResults object itself.
-
sourceTable
Get the sourceTable property: The table used in the search job.- Returns:
- the sourceTable value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-