Package com.datadog.api.client.v1.model
Class LogsArrayMapCategorySubProcessor
java.lang.Object
com.datadog.api.client.v1.model.LogsArrayMapCategorySubProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsArrayMapCategorySubProcessor
extends Object
A category sub-processor for use inside an array-map processor. Unlike the top-level category
processor,
is_enabled is not supported.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsArrayMapCategorySubProcessor(List<LogsCategoryProcessorCategory> categories, String target, LogsCategoryProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCategoriesItem(LogsCategoryProcessorCategory categoriesItem) categories(List<LogsCategoryProcessorCategory> categories) booleanReturn true if this LogsArrayMapCategorySubProcessor object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Array of filters to match against a log and the corresponding value to assign.getName()Name of the sub-processor.Target attribute path for the category value.getType()Type of logs category processor.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCategories(List<LogsCategoryProcessorCategory> categories) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CATEGORIES
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LogsArrayMapCategorySubProcessor
public LogsArrayMapCategorySubProcessor() -
LogsArrayMapCategorySubProcessor
public LogsArrayMapCategorySubProcessor(List<LogsCategoryProcessorCategory> categories, String target, LogsCategoryProcessorType type)
-
-
Method Details
-
categories
-
addCategoriesItem
public LogsArrayMapCategorySubProcessor addCategoriesItem(LogsCategoryProcessorCategory categoriesItem) -
getCategories
Array of filters to match against a log and the corresponding value to assign.- Returns:
- categories
-
setCategories
-
name
-
getName
Name of the sub-processor.- Returns:
- name
-
setName
-
target
-
getTarget
Target attribute path for the category value.- Returns:
- target
-
setTarget
-
type
-
getType
Type of logs category processor.- 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:
- LogsArrayMapCategorySubProcessor
-
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 LogsArrayMapCategorySubProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-