@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TraceData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
TraceData() |
TraceData(TraceAttributes attributes,
String id,
TraceType type) |
| Modifier and Type | Method and Description |
|---|---|
TraceData |
attributes(TraceAttributes attributes) |
boolean |
equals(Object o)
Return true if this TraceData 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.
|
TraceAttributes |
getAttributes()
The attributes of a trace returned by the Get trace by ID endpoint.
|
String |
getId()
The full 128-bit trace ID, encoded as a 32-character hexadecimal string.
|
TraceType |
getType()
The type of the trace resource.
|
int |
hashCode() |
TraceData |
id(String id) |
TraceData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(TraceAttributes attributes) |
void |
setId(String id) |
void |
setType(TraceType type) |
String |
toString() |
TraceData |
type(TraceType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public TraceData()
public TraceData(TraceAttributes attributes, String id, TraceType type)
public TraceData attributes(TraceAttributes attributes)
public TraceAttributes getAttributes()
public void setAttributes(TraceAttributes attributes)
public String getId()
public void setId(String id)
public TraceType getType()
trace.public void setType(TraceType type)
public TraceData 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.