Interface Sort.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Sort.Builder,Sort>, SdkBuilder<Sort.Builder,Sort>, SdkPojo
Enclosing class:
Sort

@Mutable @NotThreadSafe public static interface Sort.Builder extends SdkPojo, CopyableBuilder<Sort.Builder,Sort>
  • Method Details

    • ascending

      Sort.Builder ascending(Boolean ascending)

      Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.

      Parameters:
      ascending - Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • field

      Sort.Builder field(String field)

      Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.

      Parameters:
      field - Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.
      Returns:
      Returns a reference to this object so that method calls can be chained together.