Package com.datadog.api.client.v1.model
Class LogsArrayProcessorOperationExtractKeyValue
java.lang.Object
com.datadog.api.client.v1.model.LogsArrayProcessorOperationExtractKeyValue
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsArrayProcessorOperationExtractKeyValue
extends Object
Operation that extracts key-value pairs from a
source array and stores the result in
the target attribute.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsArrayProcessorOperationExtractKeyValue(String keyToExtract, String source, LogsArrayProcessorOperationExtractKeyValueType type, String valueToExtract) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LogsArrayProcessorOperationExtractKeyValue object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Key of the attribute in each array element that holds the name to use for the extracted attribute.Whether to override the target element if it's already set.Attribute path of the array to extract key-value pairs from.Attribute that receives the extracted key-value pairs.getType()Operation type.Key of the attribute in each array element that holds the value to use for the extracted attribute.inthashCode()keyToExtract(String keyToExtract) overrideOnConflict(Boolean overrideOnConflict) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetKeyToExtract(String keyToExtract) voidsetOverrideOnConflict(Boolean overrideOnConflict) voidvoidvoidvoidsetValueToExtract(String valueToExtract) toString()valueToExtract(String valueToExtract)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_KEY_TO_EXTRACT
- See Also:
-
JSON_PROPERTY_OVERRIDE_ON_CONFLICT
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALUE_TO_EXTRACT
- See Also:
-
-
Constructor Details
-
LogsArrayProcessorOperationExtractKeyValue
public LogsArrayProcessorOperationExtractKeyValue() -
LogsArrayProcessorOperationExtractKeyValue
public LogsArrayProcessorOperationExtractKeyValue(String keyToExtract, String source, LogsArrayProcessorOperationExtractKeyValueType type, String valueToExtract)
-
-
Method Details
-
keyToExtract
-
getKeyToExtract
Key of the attribute in each array element that holds the name to use for the extracted attribute.- Returns:
- keyToExtract
-
setKeyToExtract
-
overrideOnConflict
-
getOverrideOnConflict
Whether to override the target element if it's already set.- Returns:
- overrideOnConflict
-
setOverrideOnConflict
-
source
-
getSource
Attribute path of the array to extract key-value pairs from.- Returns:
- source
-
setSource
-
target
-
getTarget
Attribute that receives the extracted key-value pairs. If not specified, the extracted attributes are added at the root level of the log.- Returns:
- target
-
setTarget
-
type
-
getType
Operation type.- Returns:
- type
-
setType
-
valueToExtract
-
getValueToExtract
Key of the attribute in each array element that holds the value to use for the extracted attribute.- Returns:
- valueToExtract
-
setValueToExtract
-
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:
- LogsArrayProcessorOperationExtractKeyValue
-
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 LogsArrayProcessorOperationExtractKeyValue object is equal to o. -
hashCode
public int hashCode() -
toString
-