You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ApplicationDiscoveryService::Types::OrderByElement

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

Overview

Note:

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

{
  field_name: "String", # required
  sort_order: "ASC", # accepts ASC, DESC
}

A field and direction for ordered output.

Instance Attribute Summary collapse

Instance Attribute Details

#field_nameString

The field on which to order.

Returns:

  • (String)


1075
1076
1077
1078
1079
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1075

class OrderByElement < Struct.new(
  :field_name,
  :sort_order)
  include Aws::Structure
end

#sort_orderString

Ordering direction.

Returns:

  • (String)


1075
1076
1077
1078
1079
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1075

class OrderByElement < Struct.new(
  :field_name,
  :sort_order)
  include Aws::Structure
end