Package com.datadog.api.client.v2.model
Class ObservabilityPipelineThrottleProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineThrottleProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineThrottleProcessor
extends Object
The
throttle processor limits the number of events that pass through over a given
time window.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineThrottleProcessor(Boolean enabled, String id, String include, Long threshold, ObservabilityPipelineThrottleProcessorType type, Double window) -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(String groupByItem) displayName(String displayName) booleanReturn true if this ObservabilityPipelineThrottleProcessor object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The display name for a component.Indicates whether the processor is enabled.Optional list of fields used to group events before the threshold has been reached.getId()The unique identifier for this processor.A Datadog search query used to determine which logs this processor targets.the number of events allowed in a given time window.getType()The processor type.The time window in seconds over which the threshold applies.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidsetGroupBy(List<String> groupBy) voidvoidsetInclude(String include) voidsetThreshold(Long threshold) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_THRESHOLD
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_WINDOW
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineThrottleProcessor
public ObservabilityPipelineThrottleProcessor() -
ObservabilityPipelineThrottleProcessor
-
-
Method Details
-
displayName
-
getDisplayName
The display name for a component.- Returns:
- displayName
-
setDisplayName
-
enabled
-
getEnabled
Indicates whether the processor is enabled.- Returns:
- enabled
-
setEnabled
-
groupBy
-
addGroupByItem
-
getGroupBy
Optional list of fields used to group events before the threshold has been reached.- Returns:
- groupBy
-
setGroupBy
-
id
-
getId
The unique identifier for this processor.- Returns:
- id
-
setId
-
include
-
getInclude
A Datadog search query used to determine which logs this processor targets.- Returns:
- include
-
setInclude
-
threshold
-
getThreshold
the number of events allowed in a given time window. Events sent after the threshold has been reached, are dropped.- Returns:
- threshold
-
setThreshold
-
type
-
getType
The processor type. The value should always bethrottle.- Returns:
- type
-
setType
-
window
-
getWindow
The time window in seconds over which the threshold applies.- Returns:
- window
-
setWindow
-
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:
- ObservabilityPipelineThrottleProcessor
-
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 ObservabilityPipelineThrottleProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-