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 Details

  • Constructor Details

    • PrunedTraceAttributes

      public PrunedTraceAttributes()
    • PrunedTraceAttributes

      public PrunedTraceAttributes(Boolean isTruncated, Integer sizeBytes, SummarizedTrace summarizedTrace)
  • Method Details

    • isTruncated

      public PrunedTraceAttributes isTruncated(Boolean isTruncated)
    • getIsTruncated

      public Boolean getIsTruncated()
      Indicates whether the underlying trace was truncated because its size exceeded the maximum that can be retrieved from storage.
      Returns:
      isTruncated
    • setIsTruncated

      public void setIsTruncated(Boolean isTruncated)
    • sizeBytes

      public PrunedTraceAttributes sizeBytes(Integer sizeBytes)
    • getSizeBytes

      public Integer getSizeBytes()
      The size, in bytes, of the original (non-pruned) trace before summarization. maximum: 2147483647
      Returns:
      sizeBytes
    • setSizeBytes

      public void setSizeBytes(Integer sizeBytes)
    • summarizedTrace

      public PrunedTraceAttributes summarizedTrace(SummarizedTrace summarizedTrace)
    • getSummarizedTrace

      public SummarizedTrace getSummarizedTrace()
      A summarized, hierarchical view of a trace.
      Returns:
      summarizedTrace
    • setSummarizedTrace

      public void setSummarizedTrace(SummarizedTrace summarizedTrace)
    • putAdditionalProperty

      public PrunedTraceAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      PrunedTraceAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this PrunedTraceAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object