Package com.datadog.api.client.v2.model
Class ObservabilityPipelineAddEnvVarsProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineAddEnvVarsProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineAddEnvVarsProcessor
extends Object
The
add_env_vars processor adds environment variable values to log events.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineAddEnvVarsProcessor(Boolean enabled, String id, String include, ObservabilityPipelineAddEnvVarsProcessorType type, List<ObservabilityPipelineAddEnvVarsProcessorVariable> variables) -
Method Summary
Modifier and TypeMethodDescriptionaddVariablesItem(ObservabilityPipelineAddEnvVarsProcessorVariable variablesItem) displayName(String displayName) booleanReturn true if this ObservabilityPipelineAddEnvVarsProcessor 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.getId()The unique identifier for this component.A Datadog search query used to determine which logs this processor targets.getType()The processor type.A list of environment variable mappings to apply to log fields.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidvoidsetInclude(String include) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineAddEnvVarsProcessor
public ObservabilityPipelineAddEnvVarsProcessor() -
ObservabilityPipelineAddEnvVarsProcessor
public ObservabilityPipelineAddEnvVarsProcessor(Boolean enabled, String id, String include, ObservabilityPipelineAddEnvVarsProcessorType type, List<ObservabilityPipelineAddEnvVarsProcessorVariable> variables)
-
-
Method Details
-
displayName
-
getDisplayName
The display name for a component.- Returns:
- displayName
-
setDisplayName
-
enabled
-
getEnabled
Indicates whether the processor is enabled.- Returns:
- enabled
-
setEnabled
-
id
-
getId
The unique identifier for this component. Used to reference this processor in the pipeline.- 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_env_vars.- Returns:
- type
-
setType
-
variables
public ObservabilityPipelineAddEnvVarsProcessor variables(List<ObservabilityPipelineAddEnvVarsProcessorVariable> variables) -
addVariablesItem
public ObservabilityPipelineAddEnvVarsProcessor addVariablesItem(ObservabilityPipelineAddEnvVarsProcessorVariable variablesItem) -
getVariables
A list of environment variable mappings to apply to log fields.- Returns:
- variables
-
setVariables
-
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:
- ObservabilityPipelineAddEnvVarsProcessor
-
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 ObservabilityPipelineAddEnvVarsProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-