Package com.datadog.api.client.v1.model
Class LogsArrayMapAttributeRemapper
java.lang.Object
com.datadog.api.client.v1.model.LogsArrayMapAttributeRemapper
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsArrayMapAttributeRemapper
extends Object
An attribute remapper sub-processor for use inside an array-map processor. Unlike the top-level
attribute remapper,
is_enabled, source_type, and target_type
are not supported.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsArrayMapAttributeRemapper(List<String> sources, String target, LogsAttributeRemapperType type) -
Method Summary
Modifier and TypeMethodDescriptionaddSourcesItem(String sourcesItem) booleanReturn true if this LogsArrayMapAttributeRemapper object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()Name of the sub-processor.Override the target element if already set.Remove or preserve the remapped source element.Array of source attribute paths.Target attribute path.If thetarget_typeof the remapper isattribute, try to cast the value to a new specific type.getType()Type of logs attribute remapper.inthashCode()overrideOnConflict(Boolean overrideOnConflict) preserveSource(Boolean preserveSource) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetOverrideOnConflict(Boolean overrideOnConflict) voidsetPreserveSource(Boolean preserveSource) voidsetSources(List<String> sources) voidvoidsetTargetFormat(TargetFormatType targetFormat) voidtargetFormat(TargetFormatType targetFormat) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OVERRIDE_ON_CONFLICT
- See Also:
-
JSON_PROPERTY_PRESERVE_SOURCE
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TARGET_FORMAT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LogsArrayMapAttributeRemapper
public LogsArrayMapAttributeRemapper() -
LogsArrayMapAttributeRemapper
public LogsArrayMapAttributeRemapper(List<String> sources, String target, LogsAttributeRemapperType type)
-
-
Method Details
-
name
-
getName
Name of the sub-processor.- Returns:
- name
-
setName
-
overrideOnConflict
-
getOverrideOnConflict
Override the target element if already set.- Returns:
- overrideOnConflict
-
setOverrideOnConflict
-
preserveSource
-
getPreserveSource
Remove or preserve the remapped source element.- Returns:
- preserveSource
-
setPreserveSource
-
sources
-
addSourcesItem
-
getSources
Array of source attribute paths.- Returns:
- sources
-
setSources
-
target
-
getTarget
Target attribute path.- Returns:
- target
-
setTarget
-
targetFormat
-
getTargetFormat
If thetarget_typeof the remapper isattribute, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string,integer, ordoubleare the possible types. If thetarget_typeistag, this parameter may not be specified.- Returns:
- targetFormat
-
setTargetFormat
-
type
-
getType
Type of logs attribute remapper.- 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:
- LogsArrayMapAttributeRemapper
-
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 LogsArrayMapAttributeRemapper object is equal to o. -
hashCode
public int hashCode() -
toString
-