Package com.datadog.api.client.v2.model
Class ObservabilityPipelineRenameFieldsProcessorField
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineRenameFieldsProcessorField
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineRenameFieldsProcessorField
extends Object
Defines how to rename a field in log events.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineRenameFieldsProcessorField(String destination, Boolean preserveSource, String source) -
Method Summary
Modifier and TypeMethodDescriptiondestination(String destination) booleanReturn true if this ObservabilityPipelineRenameFieldsProcessorField object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The field name to assign the renamed value to.Indicates whether the original field, that is received from the source, should be kept (true) or removed (false) after renaming.The original field name in the log event that should be renamed.inthashCode()preserveSource(Boolean preserveSource) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDestination(String destination) voidsetPreserveSource(Boolean preserveSource) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESTINATION
- See Also:
-
JSON_PROPERTY_PRESERVE_SOURCE
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineRenameFieldsProcessorField
public ObservabilityPipelineRenameFieldsProcessorField() -
ObservabilityPipelineRenameFieldsProcessorField
-
-
Method Details
-
destination
-
getDestination
The field name to assign the renamed value to.- Returns:
- destination
-
setDestination
-
preserveSource
-
getPreserveSource
Indicates whether the original field, that is received from the source, should be kept (true) or removed (false) after renaming.- Returns:
- preserveSource
-
setPreserveSource
-
source
-
getSource
The original field name in the log event that should be renamed.- Returns:
- source
-
setSource
-
putAdditionalProperty
public ObservabilityPipelineRenameFieldsProcessorField putAdditionalProperty(String key, Object value) 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:
- ObservabilityPipelineRenameFieldsProcessorField
-
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 ObservabilityPipelineRenameFieldsProcessorField object is equal to o. -
hashCode
public int hashCode() -
toString
-