Class RumCrossProductSampling

java.lang.Object
com.datadog.api.client.v2.model.RumCrossProductSampling

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RumCrossProductSampling extends Object
The configuration for cross-product retention filters.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_TRACE_ENABLED

      public static final String JSON_PROPERTY_TRACE_ENABLED
      See Also:
    • JSON_PROPERTY_TRACE_SAMPLE_RATE

      public static final String JSON_PROPERTY_TRACE_SAMPLE_RATE
      See Also:
  • Constructor Details

    • RumCrossProductSampling

      public RumCrossProductSampling()
  • Method Details

    • traceEnabled

      public RumCrossProductSampling traceEnabled(Boolean traceEnabled)
    • getTraceEnabled

      @Nullable public Boolean getTraceEnabled()
      Whether the cross-product retention filter for APM traces is enabled.
      Returns:
      traceEnabled
    • setTraceEnabled

      public void setTraceEnabled(Boolean traceEnabled)
    • traceSampleRate

      public RumCrossProductSampling traceSampleRate(Double traceSampleRate)
    • getTraceSampleRate

      @Nullable public Double getTraceSampleRate()
      The sample rate for the APM cross-product retention filter, between 0 and 100. Values returned by the API are rounded to two decimal places. minimum: 0 maximum: 100
      Returns:
      traceSampleRate
    • setTraceSampleRate

      public void setTraceSampleRate(Double traceSampleRate)
    • putAdditionalProperty

      public RumCrossProductSampling 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:
      RumCrossProductSampling
    • 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 RumCrossProductSampling 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