Class: Aws::SecurityHub::Types::SortCriterion

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass SortCriterion data as a hash:

{
  field: "NonEmptyString",
  sort_order: "asc", # accepts asc, desc
}

A collection of finding attributes used to sort findings.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fieldString

The finding attribute used to sort findings.

Returns:

  • (String)


15421
15422
15423
15424
15425
15426
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 15421

class SortCriterion < Struct.new(
  :field,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_orderString

The order used to sort findings.

Returns:

  • (String)


15421
15422
15423
15424
15425
15426
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 15421

class SortCriterion < Struct.new(
  :field,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end