Package com.datadog.api.client.v2.model
Class PrunedTraceAttributes
java.lang.Object
com.datadog.api.client.v2.model.PrunedTraceAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PrunedTraceAttributes
extends Object
The attributes of a pruned trace returned by the Get pruned trace by ID endpoint.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrunedTraceAttributes(Boolean isTruncated, Integer sizeBytes, SummarizedTrace summarizedTrace) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this PrunedTraceAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Indicates whether the underlying trace was truncated because its size exceeded the maximum that can be retrieved from storage.The size, in bytes, of the original (non-pruned) trace before summarization.A summarized, hierarchical view of a trace.inthashCode()isTruncated(Boolean isTruncated) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIsTruncated(Boolean isTruncated) voidsetSizeBytes(Integer sizeBytes) voidsetSummarizedTrace(SummarizedTrace summarizedTrace) summarizedTrace(SummarizedTrace summarizedTrace) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_TRUNCATED
- See Also:
-
JSON_PROPERTY_SIZE_BYTES
- See Also:
-
JSON_PROPERTY_SUMMARIZED_TRACE
- See Also:
-
-
Constructor Details
-
PrunedTraceAttributes
public PrunedTraceAttributes() -
PrunedTraceAttributes
public PrunedTraceAttributes(Boolean isTruncated, Integer sizeBytes, SummarizedTrace summarizedTrace)
-
-
Method Details
-
isTruncated
-
getIsTruncated
Indicates whether the underlying trace was truncated because its size exceeded the maximum that can be retrieved from storage.- Returns:
- isTruncated
-
setIsTruncated
-
sizeBytes
-
getSizeBytes
The size, in bytes, of the original (non-pruned) trace before summarization. maximum: 2147483647- Returns:
- sizeBytes
-
setSizeBytes
-
summarizedTrace
-
getSummarizedTrace
A summarized, hierarchical view of a trace.- Returns:
- summarizedTrace
-
setSummarizedTrace
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- PrunedTraceAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this PrunedTraceAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-