Interface Entity.Builder

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

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

    • nodeId

      Entity.Builder nodeId(String nodeId)

      The ID of the node. For an ontology schema node, use its iri: reference, which every write accepts.

      Parameters:
      nodeId - The ID of the node. For an ontology schema node, use its iri: reference, which every write accepts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeId

      The edge, identified by the IDs of its start and end nodes. The edge type is in properties.edgeType.

      Parameters:
      edgeId - The edge, identified by the IDs of its start and end nodes. The edge type is in properties.edgeType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • edgeId

      The edge, identified by the IDs of its start and end nodes. The edge type is in properties.edgeType.

      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: