Package com.datadog.api.client.v1.model
Class LogsArrayProcessor
java.lang.Object
com.datadog.api.client.v1.model.LogsArrayProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsArrayProcessor
extends Object
A processor for extracting, aggregating, or transforming values from JSON arrays within your
logs. Supported operations are: - Select value from matching element - Compute array length -
Append a value to an array - Extract key-value pairs from an array
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsArrayProcessor(LogsArrayProcessorOperation operation, LogsArrayProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LogsArrayProcessor object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether or not the processor is enabled.getName()Name of the processor.Configuration of the array processor operation to perform.getType()Type of logs array processor.inthashCode()operation(LogsArrayProcessorOperation operation) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIsEnabled(Boolean isEnabled) voidvoidsetOperation(LogsArrayProcessorOperation operation) voidtoString()type(LogsArrayProcessorType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPERATION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LogsArrayProcessor
public LogsArrayProcessor() -
LogsArrayProcessor
-
-
Method Details
-
isEnabled
-
getIsEnabled
Whether or not the processor is enabled.- Returns:
- isEnabled
-
setIsEnabled
-
name
-
getName
Name of the processor.- Returns:
- name
-
setName
-
operation
-
getOperation
Configuration of the array processor operation to perform.- Returns:
- operation
-
setOperation
-
type
-
getType
Type of logs array processor.- Returns:
- type
-
setType
-
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:
- LogsArrayProcessor
-
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 LogsArrayProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-