Interface Edge.Builder

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

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

    • sourceNodeId

      Edge.Builder sourceNodeId(String sourceNodeId)

      The identifier of the source node in this edge connection.

      Parameters:
      sourceNodeId - The identifier of the source node in this edge connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationNodeId

      Edge.Builder destinationNodeId(String destinationNodeId)

      The identifier of the destination node in this edge connection.

      Parameters:
      destinationNodeId - The identifier of the destination node in this edge connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Edge.Builder duration(Double duration)

      The duration or latency associated with this connection, if applicable.

      Parameters:
      duration - The duration or latency associated with this connection, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionType

      Edge.Builder connectionType(String connectionType)

      The type of connection between the nodes, indicating the nature of the relationship.

      Parameters:
      connectionType - The type of connection between the nodes, indicating the nature of the relationship.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionType

      Edge.Builder connectionType(ConnectionType connectionType)

      The type of connection between the nodes, indicating the nature of the relationship.

      Parameters:
      connectionType - The type of connection between the nodes, indicating the nature of the relationship.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: