Package com.datadog.api.client.v2.model
Class ObservabilityPipelineRenameFieldsProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineRenameFieldsProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineRenameFieldsProcessor
extends Object
The
rename_fields processor changes field names.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineRenameFieldsProcessor(Boolean enabled, List<ObservabilityPipelineRenameFieldsProcessorField> fields, String id, String include, ObservabilityPipelineRenameFieldsProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanReturn true if this ObservabilityPipelineRenameFieldsProcessor object is equal to o.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 rename rules specifying which fields to rename in the event, what to rename them to, and whether to preserve the original fields.getId()A 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) voidvoidvoidsetInclude(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
-
ObservabilityPipelineRenameFieldsProcessor
public ObservabilityPipelineRenameFieldsProcessor() -
ObservabilityPipelineRenameFieldsProcessor
public ObservabilityPipelineRenameFieldsProcessor(Boolean enabled, List<ObservabilityPipelineRenameFieldsProcessorField> fields, String id, String include, ObservabilityPipelineRenameFieldsProcessorType 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
public ObservabilityPipelineRenameFieldsProcessor fields(List<ObservabilityPipelineRenameFieldsProcessorField> fields) -
addFieldsItem
public ObservabilityPipelineRenameFieldsProcessor addFieldsItem(ObservabilityPipelineRenameFieldsProcessorField fieldsItem) -
getFields
A list of rename rules specifying which fields to rename in the event, what to rename them to, and whether to preserve the original fields.- Returns:
- fields
-
setFields
-
id
-
getId
A unique identifier for this component. Used to reference this component in other parts of the pipeline (e.g., as input to 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 berename_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:
- ObservabilityPipelineRenameFieldsProcessor
-
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 ObservabilityPipelineRenameFieldsProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-