Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this RumCrossProductSampling object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the cross-product retention filter for APM traces is enabled.The sample rate for the APM cross-product retention filter, between 0 and 100.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetTraceEnabled(Boolean traceEnabled) voidsetTraceSampleRate(Double traceSampleRate) toString()traceEnabled(Boolean traceEnabled) traceSampleRate(Double traceSampleRate)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TRACE_ENABLED
- See Also:
-
JSON_PROPERTY_TRACE_SAMPLE_RATE
- See Also:
-
-
Constructor Details
-
RumCrossProductSampling
public RumCrossProductSampling()
-
-
Method Details
-
traceEnabled
-
getTraceEnabled
Whether the cross-product retention filter for APM traces is enabled.- Returns:
- traceEnabled
-
setTraceEnabled
-
traceSampleRate
-
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
-
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:
- RumCrossProductSampling
-
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 RumCrossProductSampling object is equal to o. -
hashCode
public int hashCode() -
toString
-