@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsExperimentSpan extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DATASET_ID |
static String |
JSON_PROPERTY_DURATION |
static String |
JSON_PROPERTY_META |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PROJECT_ID |
static String |
JSON_PROPERTY_SPAN_ID |
static String |
JSON_PROPERTY_START_NS |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TRACE_ID |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsExperimentSpan() |
LLMObsExperimentSpan(String datasetId,
Long duration,
String name,
String projectId,
String spanId,
Long startNs,
LLMObsExperimentSpanStatus status,
String traceId) |
| Modifier and Type | Method and Description |
|---|---|
LLMObsExperimentSpan |
addTagsItem(String tagsItem) |
LLMObsExperimentSpan |
datasetId(String datasetId) |
LLMObsExperimentSpan |
duration(Long duration) |
boolean |
equals(Object o)
Return true if this LLMObsExperimentSpan object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getDatasetId()
Dataset ID associated with this span.
|
Long |
getDuration()
Duration of the span in nanoseconds.
|
LLMObsExperimentSpanMeta |
getMeta()
Metadata associated with an experiment span.
|
String |
getName()
Name of the span.
|
String |
getProjectId()
Project ID associated with this span.
|
String |
getSpanId()
Unique identifier of the span.
|
Long |
getStartNs()
Start time of the span in nanoseconds since Unix epoch.
|
LLMObsExperimentSpanStatus |
getStatus()
Status of the span.
|
List<String> |
getTags()
List of tags associated with the span.
|
String |
getTraceId()
Trace ID for the span.
|
int |
hashCode() |
LLMObsExperimentSpan |
meta(LLMObsExperimentSpanMeta meta) |
LLMObsExperimentSpan |
name(String name) |
LLMObsExperimentSpan |
projectId(String projectId) |
LLMObsExperimentSpan |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDatasetId(String datasetId) |
void |
setDuration(Long duration) |
void |
setMeta(LLMObsExperimentSpanMeta meta) |
void |
setName(String name) |
void |
setProjectId(String projectId) |
void |
setSpanId(String spanId) |
void |
setStartNs(Long startNs) |
void |
setStatus(LLMObsExperimentSpanStatus status) |
void |
setTags(List<String> tags) |
void |
setTraceId(String traceId) |
LLMObsExperimentSpan |
spanId(String spanId) |
LLMObsExperimentSpan |
startNs(Long startNs) |
LLMObsExperimentSpan |
status(LLMObsExperimentSpanStatus status) |
LLMObsExperimentSpan |
tags(List<String> tags) |
String |
toString() |
LLMObsExperimentSpan |
traceId(String traceId) |
public boolean unparsed
public static final String JSON_PROPERTY_DATASET_ID
public static final String JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_META
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PROJECT_ID
public static final String JSON_PROPERTY_SPAN_ID
public static final String JSON_PROPERTY_START_NS
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TRACE_ID
public LLMObsExperimentSpan datasetId(String datasetId)
public String getDatasetId()
public void setDatasetId(String datasetId)
public LLMObsExperimentSpan duration(Long duration)
public Long getDuration()
public void setDuration(Long duration)
public LLMObsExperimentSpan meta(LLMObsExperimentSpanMeta meta)
@Nullable public LLMObsExperimentSpanMeta getMeta()
public void setMeta(LLMObsExperimentSpanMeta meta)
public LLMObsExperimentSpan name(String name)
public String getName()
public void setName(String name)
public LLMObsExperimentSpan projectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
public LLMObsExperimentSpan spanId(String spanId)
public String getSpanId()
public void setSpanId(String spanId)
public LLMObsExperimentSpan startNs(Long startNs)
public Long getStartNs()
public void setStartNs(Long startNs)
public LLMObsExperimentSpan status(LLMObsExperimentSpanStatus status)
public LLMObsExperimentSpanStatus getStatus()
public void setStatus(LLMObsExperimentSpanStatus status)
public LLMObsExperimentSpan tags(List<String> tags)
public LLMObsExperimentSpan addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public LLMObsExperimentSpan traceId(String traceId)
public String getTraceId()
public void setTraceId(String traceId)
public LLMObsExperimentSpan 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.