Package com.datadog.api.client.v1.model
Class LogsArrayMapProcessor
java.lang.Object
com.datadog.api.client.v1.model.LogsArrayMapProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsArrayMapProcessor
extends Object
The array-map processor transforms each element of a source array by applying sub-processors in
order and collecting the results into a target array. Results can be written to a new array, to
the source array (in-place), or to an existing target array. Sub-processors can read from
$sourceElem.<field> (object element field), bare $sourceElem (primitive
element), or any parent log attribute path. Sub-processors write to
$targetElem.<field> (object output field) or bare $targetElem
(primitive output).-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsArrayMapProcessor(List<LogsArrayMapSubProcessor> processors, String source, String target, LogsArrayMapProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptionaddProcessorsItem(LogsArrayMapSubProcessor processorsItem) booleanReturn true if this LogsArrayMapProcessor 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.Whenfalseandsource != target, the source attribute is removed after processing.Sub-processors applied to each element.Attribute path of the source array.Attribute path of the output array.getType()Type of logs array-map processor.inthashCode()preserveSource(Boolean preserveSource) processors(List<LogsArrayMapSubProcessor> processors) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIsEnabled(Boolean isEnabled) voidvoidsetPreserveSource(Boolean preserveSource) voidsetProcessors(List<LogsArrayMapSubProcessor> processors) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PRESERVE_SOURCE
- See Also:
-
JSON_PROPERTY_PROCESSORS
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LogsArrayMapProcessor
public LogsArrayMapProcessor() -
LogsArrayMapProcessor
public LogsArrayMapProcessor(List<LogsArrayMapSubProcessor> processors, String source, String target, LogsArrayMapProcessorType type)
-
-
Method Details
-
isEnabled
-
getIsEnabled
Whether or not the processor is enabled.- Returns:
- isEnabled
-
setIsEnabled
-
name
-
getName
Name of the processor.- Returns:
- name
-
setName
-
preserveSource
-
getPreserveSource
Whenfalseandsource != target, the source attribute is removed after processing. Cannot befalsewhensource == target.- Returns:
- preserveSource
-
setPreserveSource
-
processors
-
addProcessorsItem
-
getProcessors
Sub-processors applied to each element. Allowed types:attribute-remapper,string-builder-processor,arithmetic-processor,category-processor.- Returns:
- processors
-
setProcessors
-
source
-
getSource
Attribute path of the source array. Elements are read-only via$sourceEleminside sub-processors.- Returns:
- source
-
setSource
-
target
-
getTarget
Attribute path of the output array. Sub-processors write to$targetElem(or$targetElem.<field>) to build each output element.- Returns:
- target
-
setTarget
-
type
-
getType
Type of logs array-map 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:
- LogsArrayMapProcessor
-
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 LogsArrayMapProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-