Class ReportConfigSorting

java.lang.Object
com.azure.resourcemanager.costmanagement.models.ReportConfigSorting

public final class ReportConfigSorting extends Object
The order by expression to be used in the report.
  • Constructor Details

    • ReportConfigSorting

      public ReportConfigSorting()
      Creates an instance of ReportConfigSorting class.
  • Method Details

    • direction

      public ReportConfigSortingDirection direction()
      Get the direction property: Direction of sort.
      Returns:
      the direction value.
    • withDirection

      public ReportConfigSorting withDirection(ReportConfigSortingDirection direction)
      Set the direction property: Direction of sort.
      Parameters:
      direction - the direction value to set.
      Returns:
      the ReportConfigSorting object itself.
    • name

      public String name()
      Get the name property: The name of the column to sort.
      Returns:
      the name value.
    • withName

      public ReportConfigSorting withName(String name)
      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.