Interface Node.Builder

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

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

    • keyAttributes

      Node.Builder keyAttributes(Map<String,String> keyAttributes)

      A map of key attributes that identify and describe the node, such as service name, environment, and other metadata.

      Parameters:
      keyAttributes - A map of key attributes that identify and describe the node, such as service name, environment, and other metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Node.Builder name(String name)

      The display name of the node, typically the service or component name.

      Parameters:
      name - The display name of the node, typically the service or component name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeId

      Node.Builder nodeId(String nodeId)

      A unique identifier for the node within the dependency graph.

      Parameters:
      nodeId - A unique identifier for the node within the dependency graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operation

      Node.Builder operation(String operation)

      The specific operation or endpoint within the service that this node represents, if applicable.

      Parameters:
      operation - The specific operation or endpoint within the service that this node represents, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Node.Builder type(String type)

      The type of node, such as "Service", "Database", "Queue", or "External".

      Parameters:
      type - The type of node, such as "Service", "Database", "Queue", or "External".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Node.Builder duration(Double duration)

      The typical response time or processing duration for this node, measured in milliseconds.

      Parameters:
      duration - The typical response time or processing duration for this node, measured in milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Node.Builder status(String status)

      The current health status of the node, such as "Healthy", "Warning", or "Critical".

      Parameters:
      status - The current health status of the node, such as "Healthy", "Warning", or "Critical".
      Returns:
      Returns a reference to this object so that method calls can be chained together.