Class ReportConfigSorting
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ReportConfigSorting
The order by expression to be used in the report.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the direction property: Direction of sort.name()
Get the name property: The name of the column to sort.void
validate()
Validates the instance.withDirection
(ReportConfigSortingType direction) Set the direction property: Direction of sort.Set the name property: The name of the column to sort.
-
Constructor Details
-
ReportConfigSorting
public ReportConfigSorting()Creates an instance of ReportConfigSorting class.
-
-
Method Details
-
direction
Get the direction property: Direction of sort.- Returns:
- the direction value.
-
withDirection
Set the direction property: Direction of sort.- Parameters:
direction
- the direction value to set.- Returns:
- the ReportConfigSorting object itself.
-
name
Get the name property: The name of the column to sort.- Returns:
- the name value.
-
withName
Set the name property: The name of the column to sort.- Parameters:
name
- the name value to set.- Returns:
- the ReportConfigSorting object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-