@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsCategoryProcessor extends Object
Notes:
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CATEGORIES |
static String |
JSON_PROPERTY_IS_ENABLED |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_TARGET |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsCategoryProcessor() |
LogsCategoryProcessor(List<LogsCategoryProcessorCategory> categories,
String target,
LogsCategoryProcessorType type) |
| Modifier and Type | Method and Description |
|---|---|
LogsCategoryProcessor |
addCategoriesItem(LogsCategoryProcessorCategory categoriesItem) |
LogsCategoryProcessor |
categories(List<LogsCategoryProcessorCategory> categories) |
boolean |
equals(Object o)
Return true if this LogsCategoryProcessor object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<LogsCategoryProcessorCategory> |
getCategories()
Array of filters to match or not a log and their corresponding
name to assign a
custom value to the log. |
Boolean |
getIsEnabled()
Whether or not the processor is enabled.
|
String |
getName()
Name of the processor.
|
String |
getTarget()
Name of the target attribute which value is defined by the matching category.
|
LogsCategoryProcessorType |
getType()
Type of logs category processor.
|
int |
hashCode() |
LogsCategoryProcessor |
isEnabled(Boolean isEnabled) |
LogsCategoryProcessor |
name(String name) |
LogsCategoryProcessor |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCategories(List<LogsCategoryProcessorCategory> categories) |
void |
setIsEnabled(Boolean isEnabled) |
void |
setName(String name) |
void |
setTarget(String target) |
void |
setType(LogsCategoryProcessorType type) |
LogsCategoryProcessor |
target(String target) |
String |
toString() |
LogsCategoryProcessor |
type(LogsCategoryProcessorType type) |
public boolean unparsed
public static final String JSON_PROPERTY_CATEGORIES
public static final String JSON_PROPERTY_IS_ENABLED
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TYPE
public LogsCategoryProcessor()
public LogsCategoryProcessor(List<LogsCategoryProcessorCategory> categories, String target, LogsCategoryProcessorType type)
public LogsCategoryProcessor categories(List<LogsCategoryProcessorCategory> categories)
public LogsCategoryProcessor addCategoriesItem(LogsCategoryProcessorCategory categoriesItem)
public List<LogsCategoryProcessorCategory> getCategories()
name to assign a
custom value to the log.public void setCategories(List<LogsCategoryProcessorCategory> categories)
public LogsCategoryProcessor isEnabled(Boolean isEnabled)
@Nullable public Boolean getIsEnabled()
public void setIsEnabled(Boolean isEnabled)
public LogsCategoryProcessor name(String name)
@Nullable public String getName()
public void setName(String name)
public LogsCategoryProcessor target(String target)
public String getTarget()
public void setTarget(String target)
public LogsCategoryProcessor type(LogsCategoryProcessorType type)
public LogsCategoryProcessorType getType()
public void setType(LogsCategoryProcessorType type)
public LogsCategoryProcessor putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.