Class SearchSort
java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchSort
The sort parameters for search.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The name of the field the search query is sorted on.order()
Get the order property: The sort order of the search.void
validate()
Validates the instance.Set the name property: The name of the field the search query is sorted on.withOrder
(SearchSortEnum order) Set the order property: The sort order of the search.
-
Constructor Details
-
SearchSort
public SearchSort()
-
-
Method Details
-
name
Get the name property: The name of the field the search query is sorted on.- Returns:
- the name value.
-
withName
Set the name property: The name of the field the search query is sorted on.- Parameters:
name
- the name value to set.- Returns:
- the SearchSort object itself.
-
order
Get the order property: The sort order of the search.- Returns:
- the order value.
-
withOrder
Set the order property: The sort order of the search.- Parameters:
order
- the order value to set.- Returns:
- the SearchSort object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-