Package com.datadog.api.client.v2.model
Class ObservabilityPipelineAddFieldsProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineAddFieldsProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineAddFieldsProcessor
extends Object
The
add_fields processor adds static key-value fields to logs.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineAddFieldsProcessor(Boolean enabled, List<ObservabilityPipelineFieldValue> fields, String id, String include, ObservabilityPipelineAddFieldsProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptionaddFieldsItem(ObservabilityPipelineFieldValue fieldsItem) displayName(String displayName) booleanReturn true if this ObservabilityPipelineAddFieldsProcessor object is equal to o.fields(List<ObservabilityPipelineFieldValue> fields) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The display name for a component.Indicates whether the processor is enabled.A list of static fields (key-value pairs) that is added to each log event processed by this component.getId()The unique identifier for this component.A Datadog search query used to determine which logs this processor targets.getType()The processor type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidsetFields(List<ObservabilityPipelineFieldValue> fields) voidvoidsetInclude(String include) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineAddFieldsProcessor
public ObservabilityPipelineAddFieldsProcessor() -
ObservabilityPipelineAddFieldsProcessor
public ObservabilityPipelineAddFieldsProcessor(Boolean enabled, List<ObservabilityPipelineFieldValue> fields, String id, String include, ObservabilityPipelineAddFieldsProcessorType type)
-
-
Method Details
-
displayName
-
getDisplayName
The display name for a component.- Returns:
- displayName
-
setDisplayName
-
enabled
-
getEnabled
Indicates whether the processor is enabled.- Returns:
- enabled
-
setEnabled
-
fields
-
addFieldsItem
public ObservabilityPipelineAddFieldsProcessor addFieldsItem(ObservabilityPipelineFieldValue fieldsItem) -
getFields
A list of static fields (key-value pairs) that is added to each log event processed by this component.- Returns:
- fields
-
setFields
-
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
-
type
-
getType
The processor type. The value should always beadd_fields.- 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:
- ObservabilityPipelineAddFieldsProcessor
-
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 ObservabilityPipelineAddFieldsProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-