@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsPatternsClusteredPointRef extends Object
include_metrics=true.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DURATION |
static String |
JSON_PROPERTY_ESTIMATED_TOTAL_COST |
static String |
JSON_PROPERTY_EVALUATION |
static String |
JSON_PROPERTY_INPUT_TOKENS |
static String |
JSON_PROPERTY_OUTPUT_TOKENS |
static String |
JSON_PROPERTY_SPAN_ID |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TOTAL_TOKENS |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsPatternsClusteredPointRef() |
LLMObsPatternsClusteredPointRef(String spanId) |
| Modifier and Type | Method and Description |
|---|---|
LLMObsPatternsClusteredPointRef |
duration(Double duration) |
boolean |
equals(Object o)
Return true if this LLMObsPatternsClusteredPointRef object is equal to o.
|
LLMObsPatternsClusteredPointRef |
estimatedTotalCost(Double estimatedTotalCost) |
LLMObsPatternsClusteredPointRef |
evaluation(Map<String,Object> evaluation) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Double |
getDuration()
Duration of the source span in nanoseconds.
|
Double |
getEstimatedTotalCost()
Estimated total cost of the source span.
|
Map<String,Object> |
getEvaluation()
Evaluation results for the source span keyed by evaluation name.
|
Double |
getInputTokens()
Number of input tokens of the source span.
|
Double |
getOutputTokens()
Number of output tokens of the source span.
|
String |
getSpanId()
Identifier of the source span.
|
String |
getStatus()
Status of the source span.
|
Double |
getTotalTokens()
Total number of tokens of the source span.
|
int |
hashCode() |
LLMObsPatternsClusteredPointRef |
inputTokens(Double inputTokens) |
LLMObsPatternsClusteredPointRef |
outputTokens(Double outputTokens) |
LLMObsPatternsClusteredPointRef |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LLMObsPatternsClusteredPointRef |
putEvaluationItem(String key,
Object evaluationItem) |
void |
setDuration(Double duration) |
void |
setEstimatedTotalCost(Double estimatedTotalCost) |
void |
setEvaluation(Map<String,Object> evaluation) |
void |
setInputTokens(Double inputTokens) |
void |
setOutputTokens(Double outputTokens) |
void |
setSpanId(String spanId) |
void |
setStatus(String status) |
void |
setTotalTokens(Double totalTokens) |
LLMObsPatternsClusteredPointRef |
spanId(String spanId) |
LLMObsPatternsClusteredPointRef |
status(String status) |
String |
toString() |
LLMObsPatternsClusteredPointRef |
totalTokens(Double totalTokens) |
public boolean unparsed
public static final String JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_ESTIMATED_TOTAL_COST
public static final String JSON_PROPERTY_EVALUATION
public static final String JSON_PROPERTY_INPUT_TOKENS
public static final String JSON_PROPERTY_OUTPUT_TOKENS
public static final String JSON_PROPERTY_SPAN_ID
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TOTAL_TOKENS
public LLMObsPatternsClusteredPointRef()
public LLMObsPatternsClusteredPointRef(String spanId)
public LLMObsPatternsClusteredPointRef duration(Double duration)
@Nullable public Double getDuration()
public void setDuration(Double duration)
public LLMObsPatternsClusteredPointRef estimatedTotalCost(Double estimatedTotalCost)
@Nullable public Double getEstimatedTotalCost()
public void setEstimatedTotalCost(Double estimatedTotalCost)
public LLMObsPatternsClusteredPointRef evaluation(Map<String,Object> evaluation)
public LLMObsPatternsClusteredPointRef putEvaluationItem(String key, Object evaluationItem)
@Nullable public Map<String,Object> getEvaluation()
public LLMObsPatternsClusteredPointRef inputTokens(Double inputTokens)
@Nullable public Double getInputTokens()
public void setInputTokens(Double inputTokens)
public LLMObsPatternsClusteredPointRef outputTokens(Double outputTokens)
@Nullable public Double getOutputTokens()
public void setOutputTokens(Double outputTokens)
public LLMObsPatternsClusteredPointRef spanId(String spanId)
public String getSpanId()
public void setSpanId(String spanId)
public LLMObsPatternsClusteredPointRef status(String status)
@Nullable public String getStatus()
public void setStatus(String status)
public LLMObsPatternsClusteredPointRef totalTokens(Double totalTokens)
@Nullable public Double getTotalTokens()
public void setTotalTokens(Double totalTokens)
public LLMObsPatternsClusteredPointRef putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.