Interface PathEdge.Builder

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

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

    • edgeId

      Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type, edgeType, is carried in properties.

      Parameters:
      edgeId - Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type, edgeType, is carried in properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeId

      Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type, edgeType, is carried in properties.

      This is a convenience method that creates an instance of the EdgeIdentifier.Builder avoiding the need to create one manually via EdgeIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to edgeId(EdgeIdentifier).

      Parameters:
      edgeId - a consumer that will call methods on EdgeIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • properties

      PathEdge.Builder properties(Map<String,AnyValue> properties)

      Arbitrary key-value properties stored on this edge.

      Parameters:
      properties - Arbitrary key-value properties stored on this edge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.