Interface SortCriteria.Builder

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

public static interface SortCriteria.Builder extends SdkPojo, CopyableBuilder<SortCriteria.Builder,SortCriteria>
  • Method Details

    • attributeName

      SortCriteria.Builder attributeName(String attributeName)

      The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.

      Parameters:
      attributeName - The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orderBy

      SortCriteria.Builder orderBy(String orderBy)

      The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

      Parameters:
      orderBy - The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • orderBy

      SortCriteria.Builder orderBy(OrderBy orderBy)

      The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

      Parameters:
      orderBy - The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: