Package com.datadog.api.client.v2.model
Class ObservabilityPipelineParseXMLProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineParseXMLProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineParseXMLProcessor
extends Object
The
parse_xml processor parses XML from a specified field and extracts it into the
event.
Supported pipeline types: logs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineParseXMLProcessor(Boolean enabled, String field, String id, String include, ObservabilityPipelineParseXMLProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptionalwaysUseTextKey(Boolean alwaysUseTextKey) attrPrefix(String attrPrefix) displayName(String displayName) booleanReturn true if this ObservabilityPipelineParseXMLProcessor object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether to always use a text key for element content.The prefix to use for XML attributes in the parsed output.The display name for a component.Indicates whether the processor is enabled.getField()The name of the log field that contains an XML string.getId()The unique identifier for this component.A Datadog search query used to determine which logs this processor targets.Whether to include XML attributes in the parsed output.Whether to parse boolean values from strings.Whether to parse null values.Whether to parse numeric values from strings.The key name to use for text content within XML elements.getType()The processor type.inthashCode()includeAttr(Boolean includeAttr) parseNumber(Boolean parseNumber) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAlwaysUseTextKey(Boolean alwaysUseTextKey) voidsetAttrPrefix(String attrPrefix) voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidvoidvoidsetInclude(String include) voidsetIncludeAttr(Boolean includeAttr) voidsetParseBool(Boolean parseBool) voidsetParseNull(Boolean parseNull) voidsetParseNumber(Boolean parseNumber) voidsetTextKey(String textKey) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALWAYS_USE_TEXT_KEY
- See Also:
-
JSON_PROPERTY_ATTR_PREFIX
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_FIELD
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_INCLUDE_ATTR
- See Also:
-
JSON_PROPERTY_PARSE_BOOL
- See Also:
-
JSON_PROPERTY_PARSE_NULL
- See Also:
-
JSON_PROPERTY_PARSE_NUMBER
- See Also:
-
JSON_PROPERTY_TEXT_KEY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineParseXMLProcessor
public ObservabilityPipelineParseXMLProcessor() -
ObservabilityPipelineParseXMLProcessor
public ObservabilityPipelineParseXMLProcessor(Boolean enabled, String field, String id, String include, ObservabilityPipelineParseXMLProcessorType type)
-
-
Method Details
-
alwaysUseTextKey
-
getAlwaysUseTextKey
Whether to always use a text key for element content.- Returns:
- alwaysUseTextKey
-
setAlwaysUseTextKey
-
attrPrefix
-
getAttrPrefix
The prefix to use for XML attributes in the parsed output.- Returns:
- attrPrefix
-
setAttrPrefix
-
displayName
-
getDisplayName
The display name for a component.- Returns:
- displayName
-
setDisplayName
-
enabled
-
getEnabled
Indicates whether the processor is enabled.- Returns:
- enabled
-
setEnabled
-
field
-
getField
The name of the log field that contains an XML string.- Returns:
- field
-
setField
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
include
-
getInclude
A Datadog search query used to determine which logs this processor targets.- Returns:
- include
-
setInclude
-
includeAttr
-
getIncludeAttr
Whether to include XML attributes in the parsed output.- Returns:
- includeAttr
-
setIncludeAttr
-
parseBool
-
getParseBool
Whether to parse boolean values from strings.- Returns:
- parseBool
-
setParseBool
-
parseNull
-
getParseNull
Whether to parse null values.- Returns:
- parseNull
-
setParseNull
-
parseNumber
-
getParseNumber
Whether to parse numeric values from strings.- Returns:
- parseNumber
-
setParseNumber
-
textKey
-
getTextKey
The key name to use for text content within XML elements. Must be at least 1 character if specified.- Returns:
- textKey
-
setTextKey
-
type
-
getType
The processor type. The value should always beparse_xml.- 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:
- ObservabilityPipelineParseXMLProcessor
-
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 ObservabilityPipelineParseXMLProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-