@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TraceAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_IS_TRUNCATED |
static String |
JSON_PROPERTY_SPANS |
boolean |
unparsed |
| Constructor and Description |
|---|
TraceAttributes() |
TraceAttributes(Boolean isTruncated,
List<APMTraceSpan> spans) |
| Modifier and Type | Method and Description |
|---|---|
TraceAttributes |
addSpansItem(APMTraceSpan spansItem) |
boolean |
equals(Object o)
Return true if this TraceAttributes 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.
|
Boolean |
getIsTruncated()
Indicates whether the trace was truncated because its size exceeded the maximum response
payload.
|
List<APMTraceSpan> |
getSpans()
The list of spans that compose the trace.
|
int |
hashCode() |
TraceAttributes |
isTruncated(Boolean isTruncated) |
TraceAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setIsTruncated(Boolean isTruncated) |
void |
setSpans(List<APMTraceSpan> spans) |
TraceAttributes |
spans(List<APMTraceSpan> spans) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_IS_TRUNCATED
public static final String JSON_PROPERTY_SPANS
public TraceAttributes()
public TraceAttributes(Boolean isTruncated, List<APMTraceSpan> spans)
public TraceAttributes isTruncated(Boolean isTruncated)
public Boolean getIsTruncated()
public void setIsTruncated(Boolean isTruncated)
public TraceAttributes spans(List<APMTraceSpan> spans)
public TraceAttributes addSpansItem(APMTraceSpan spansItem)
public List<APMTraceSpan> getSpans()
public void setSpans(List<APMTraceSpan> spans)
public TraceAttributes 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.