Class ThreatIntelligenceSortingCriteria
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.ThreatIntelligenceSortingCriteria
-
public final class ThreatIntelligenceSortingCriteria extends Object
List of available columns for sorting.
-
-
Constructor Summary
Constructors Constructor Description ThreatIntelligenceSortingCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
itemKey()
Get the itemKey property: Column name.ThreatIntelligenceSortingCriteriaEnum
sortOrder()
Get the sortOrder property: Sorting order (ascending/descending/unsorted).void
validate()
Validates the instance.ThreatIntelligenceSortingCriteria
withItemKey(String itemKey)
Set the itemKey property: Column name.ThreatIntelligenceSortingCriteria
withSortOrder(ThreatIntelligenceSortingCriteriaEnum sortOrder)
Set the sortOrder property: Sorting order (ascending/descending/unsorted).
-
-
-
Method Detail
-
itemKey
public String itemKey()
Get the itemKey property: Column name.- Returns:
- the itemKey value.
-
withItemKey
public ThreatIntelligenceSortingCriteria withItemKey(String itemKey)
Set the itemKey property: Column name.- Parameters:
itemKey
- the itemKey value to set.- Returns:
- the ThreatIntelligenceSortingCriteria object itself.
-
sortOrder
public ThreatIntelligenceSortingCriteriaEnum sortOrder()
Get the sortOrder property: Sorting order (ascending/descending/unsorted).- Returns:
- the sortOrder value.
-
withSortOrder
public ThreatIntelligenceSortingCriteria withSortOrder(ThreatIntelligenceSortingCriteriaEnum sortOrder)
Set the sortOrder property: Sorting order (ascending/descending/unsorted).- Parameters:
sortOrder
- the sortOrder value to set.- Returns:
- the ThreatIntelligenceSortingCriteria object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-