@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.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_GROUP_BY |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_INCLUDE |
static String |
JSON_PROPERTY_INPUTS |
static String |
JSON_PROPERTY_THRESHOLD |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_WINDOW |
boolean |
unparsed |
| Constructor and Description |
|---|
ObservabilityPipelineThrottleProcessor() |
ObservabilityPipelineThrottleProcessor(String id,
String include,
List<String> inputs,
Long threshold,
ObservabilityPipelineThrottleProcessorType type,
Double window) |
| Modifier and Type | Method and Description |
|---|---|
ObservabilityPipelineThrottleProcessor |
addGroupByItem(String groupByItem) |
ObservabilityPipelineThrottleProcessor |
addInputsItem(String inputsItem) |
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.
|
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.
|
List<String> |
getInputs()
A list of component IDs whose output is used as the input for this processor.
|
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 |
inputs(List<String> inputs) |
ObservabilityPipelineThrottleProcessor |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setGroupBy(List<String> groupBy) |
void |
setId(String id) |
void |
setInclude(String include) |
void |
setInputs(List<String> inputs) |
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_GROUP_BY
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_INCLUDE
public static final String JSON_PROPERTY_INPUTS
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 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 inputs(List<String> inputs)
public ObservabilityPipelineThrottleProcessor addInputsItem(String inputsItem)
public List<String> getInputs()
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 © 2025. All rights reserved.