@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ObservabilityPipelineThrottleProcessor extends Object
throttle processor limits the number of events that pass through over a given
time window.
Supported pipeline types: logs
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DISPLAY_NAME |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_GROUP_BY |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_INCLUDE |
static String |
JSON_PROPERTY_THRESHOLD |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_WINDOW |
boolean |
unparsed |
| Constructor and Description |
|---|
ObservabilityPipelineThrottleProcessor() |
ObservabilityPipelineThrottleProcessor(Boolean enabled,
String id,
String include,
Long threshold,
ObservabilityPipelineThrottleProcessorType type,
Double window) |
| Modifier and Type | Method and Description |
|---|---|
ObservabilityPipelineThrottleProcessor |
addGroupByItem(String groupByItem) |
ObservabilityPipelineThrottleProcessor |
displayName(String displayName) |
ObservabilityPipelineThrottleProcessor |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this ObservabilityPipelineThrottleProcessor object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getDisplayName()
The display name for a component.
|
Boolean |
getEnabled()
Indicates whether the processor is enabled.
|
List<String> |
getGroupBy()
Optional list of fields used to group events before the threshold has been reached.
|
String |
getId()
The unique identifier for this processor.
|
String |
getInclude()
A Datadog search query used to determine which logs this processor targets.
|
Long |
getThreshold()
the number of events allowed in a given time window.
|
ObservabilityPipelineThrottleProcessorType |
getType()
The processor type.
|
Double |
getWindow()
The time window in seconds over which the threshold applies.
|
ObservabilityPipelineThrottleProcessor |
groupBy(List<String> groupBy) |
int |
hashCode() |
ObservabilityPipelineThrottleProcessor |
id(String id) |
ObservabilityPipelineThrottleProcessor |
include(String include) |
ObservabilityPipelineThrottleProcessor |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDisplayName(String displayName) |
void |
setEnabled(Boolean enabled) |
void |
setGroupBy(List<String> groupBy) |
void |
setId(String id) |
void |
setInclude(String include) |
void |
setThreshold(Long threshold) |
void |
setType(ObservabilityPipelineThrottleProcessorType type) |
void |
setWindow(Double window) |
ObservabilityPipelineThrottleProcessor |
threshold(Long threshold) |
String |
toString() |
ObservabilityPipelineThrottleProcessor |
type(ObservabilityPipelineThrottleProcessorType type) |
ObservabilityPipelineThrottleProcessor |
window(Double window) |
public boolean unparsed
public static final String JSON_PROPERTY_DISPLAY_NAME
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_GROUP_BY
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_INCLUDE
public static final String JSON_PROPERTY_THRESHOLD
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_WINDOW
public ObservabilityPipelineThrottleProcessor()
public ObservabilityPipelineThrottleProcessor displayName(String displayName)
@Nullable public String getDisplayName()
public void setDisplayName(String displayName)
public ObservabilityPipelineThrottleProcessor enabled(Boolean enabled)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public ObservabilityPipelineThrottleProcessor groupBy(List<String> groupBy)
public ObservabilityPipelineThrottleProcessor addGroupByItem(String groupByItem)
@Nullable public List<String> getGroupBy()
public ObservabilityPipelineThrottleProcessor id(String id)
public String getId()
public void setId(String id)
public ObservabilityPipelineThrottleProcessor include(String include)
public String getInclude()
public void setInclude(String include)
public ObservabilityPipelineThrottleProcessor threshold(Long threshold)
public Long getThreshold()
public void setThreshold(Long threshold)
public ObservabilityPipelineThrottleProcessor type(ObservabilityPipelineThrottleProcessorType type)
public ObservabilityPipelineThrottleProcessorType getType()
throttle.public void setType(ObservabilityPipelineThrottleProcessorType type)
public ObservabilityPipelineThrottleProcessor window(Double window)
public Double getWindow()
public void setWindow(Double window)
public ObservabilityPipelineThrottleProcessor putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.