Package com.datadog.api.client.v2.model
Class ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit
extends Object
A cardinality override for a specific tag key within a per-metric limit.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit(ObservabilityPipelineTagCardinalityLimitProcessorOverrideType overrideType, String tagKey) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.How the override is applied.The tag key this override applies to.The maximum number of distinct values allowed for this tag.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetValueLimit(Long valueLimit) toString()valueLimit(Long valueLimit)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_OVERRIDE_TYPE
- See Also:
-
JSON_PROPERTY_TAG_KEY
- See Also:
-
JSON_PROPERTY_VALUE_LIMIT
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit
public ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit() -
ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit
public ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit(ObservabilityPipelineTagCardinalityLimitProcessorOverrideType overrideType, String tagKey)
-
-
Method Details
-
overrideType
public ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit overrideType(ObservabilityPipelineTagCardinalityLimitProcessorOverrideType overrideType) -
getOverrideType
How the override is applied.limit_overrideenforces a custom limit;excludedomits the metric or tag from cardinality tracking.- Returns:
- overrideType
-
setOverrideType
public void setOverrideType(ObservabilityPipelineTagCardinalityLimitProcessorOverrideType overrideType) -
tagKey
-
getTagKey
The tag key this override applies to.- Returns:
- tagKey
-
setTagKey
-
valueLimit
-
getValueLimit
The maximum number of distinct values allowed for this tag. Required whenoverride_typeislimit_override. Must be omitted whenoverride_typeisexcluded. minimum: 0 maximum: 1000000- Returns:
- valueLimit
-
setValueLimit
-
putAdditionalProperty
public ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit 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 setvalue- The associated value- Returns:
- ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit
-
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 ObservabilityPipelineTagCardinalityLimitProcessorPerTagLimit object is equal to o. -
hashCode
public int hashCode() -
toString
-