Class LLMObsPatternsClusteredPointRef

java.lang.Object
com.datadog.api.client.v2.model.LLMObsPatternsClusteredPointRef

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsPatternsClusteredPointRef extends Object
A clustered point attached inline to a topic. The metric fields are populated only when the request includes include_metrics=true.
  • Field Details

  • Constructor Details

    • LLMObsPatternsClusteredPointRef

      public LLMObsPatternsClusteredPointRef()
    • LLMObsPatternsClusteredPointRef

      public LLMObsPatternsClusteredPointRef(String spanId)
  • Method Details

    • duration

      public LLMObsPatternsClusteredPointRef duration(Double duration)
    • getDuration

      @Nullable public Double getDuration()
      Duration of the source span in nanoseconds. Included only when metrics are requested.
      Returns:
      duration
    • setDuration

      public void setDuration(Double duration)
    • estimatedTotalCost

      public LLMObsPatternsClusteredPointRef estimatedTotalCost(Double estimatedTotalCost)
    • getEstimatedTotalCost

      @Nullable public Double getEstimatedTotalCost()
      Estimated total cost of the source span. Included only when metrics are requested.
      Returns:
      estimatedTotalCost
    • setEstimatedTotalCost

      public void setEstimatedTotalCost(Double estimatedTotalCost)
    • evaluation

      public LLMObsPatternsClusteredPointRef evaluation(Map<String,Object> evaluation)
    • putEvaluationItem

      public LLMObsPatternsClusteredPointRef putEvaluationItem(String key, Object evaluationItem)
    • getEvaluation

      @Nullable public Map<String,Object> getEvaluation()
      Evaluation results for the source span keyed by evaluation name. Included only when metrics are requested.
      Returns:
      evaluation
    • setEvaluation

      public void setEvaluation(Map<String,Object> evaluation)
    • inputTokens

      public LLMObsPatternsClusteredPointRef inputTokens(Double inputTokens)
    • getInputTokens

      @Nullable public Double getInputTokens()
      Number of input tokens of the source span. Included only when metrics are requested.
      Returns:
      inputTokens
    • setInputTokens

      public void setInputTokens(Double inputTokens)
    • outputTokens

      public LLMObsPatternsClusteredPointRef outputTokens(Double outputTokens)
    • getOutputTokens

      @Nullable public Double getOutputTokens()
      Number of output tokens of the source span. Included only when metrics are requested.
      Returns:
      outputTokens
    • setOutputTokens

      public void setOutputTokens(Double outputTokens)
    • spanId

      public LLMObsPatternsClusteredPointRef spanId(String spanId)
    • getSpanId

      public String getSpanId()
      Identifier of the source span.
      Returns:
      spanId
    • setSpanId

      public void setSpanId(String spanId)
    • status

      public LLMObsPatternsClusteredPointRef status(String status)
    • getStatus

      @Nullable public String getStatus()
      Status of the source span. Included only when metrics are requested.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • totalTokens

      public LLMObsPatternsClusteredPointRef totalTokens(Double totalTokens)
    • getTotalTokens

      @Nullable public Double getTotalTokens()
      Total number of tokens of the source span. Included only when metrics are requested.
      Returns:
      totalTokens
    • setTotalTokens

      public void setTotalTokens(Double totalTokens)
    • putAdditionalProperty

      public LLMObsPatternsClusteredPointRef putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      LLMObsPatternsClusteredPointRef
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this LLMObsPatternsClusteredPointRef object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object