Class: Aws::Context::Types::NeighborNode

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

Overview

A node that the traversal reached from the seed node, with its properties, its depth, and the edges on the path to it from the seed node.

Constant Summary collapse

SENSITIVE =
[:properties]

Instance Attribute Summary collapse

Instance Attribute Details

#depth ⇒ Integer

The depth at which the traversal found this neighbor (1 = directly connected to seed, 2 = two edges away, and so on).

Returns:

  • (Integer)


5081
5082
5083
5084
5085
5086
5087
5088
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5081

class NeighborNode < Struct.new(
  :node_id,
  :properties,
  :depth,
  :path_edges)
  SENSITIVE = [:properties]
  include Aws::Structure
end

#node_id ⇒ String

Unique identifier of the neighbor node.

Returns:

  • (String)


5081
5082
5083
5084
5085
5086
5087
5088
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5081

class NeighborNode < Struct.new(
  :node_id,
  :properties,
  :depth,
  :path_edges)
  SENSITIVE = [:properties]
  include Aws::Structure
end

#path_edges ⇒ Array<Types::PathEdge>

The edges along the path from the seed node to this neighbor, preserving traversal order.

Returns:



5081
5082
5083
5084
5085
5086
5087
5088
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5081

class NeighborNode < Struct.new(
  :node_id,
  :properties,
  :depth,
  :path_edges)
  SENSITIVE = [:properties]
  include Aws::Structure
end

#properties ⇒ Hash<String,Types::AnyValue>

Arbitrary key-value properties stored on this neighbor node.

Returns:



5081
5082
5083
5084
5085
5086
5087
5088
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 5081

class NeighborNode < Struct.new(
  :node_id,
  :properties,
  :depth,
  :path_edges)
  SENSITIVE = [:properties]
  include Aws::Structure
end