@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsStringBuilderProcessor extends Object
The template is defined by both raw text and blocks with the syntax %{attribute_path}
.
Notes:
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_IS_ENABLED |
static String |
JSON_PROPERTY_IS_REPLACE_MISSING |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_TARGET |
static String |
JSON_PROPERTY_TEMPLATE |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsStringBuilderProcessor() |
LogsStringBuilderProcessor(String target,
String template,
LogsStringBuilderProcessorType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this LogsStringBuilderProcessor 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.
|
Boolean |
getIsEnabled()
Whether or not the processor is enabled.
|
Boolean |
getIsReplaceMissing()
If true, it replaces all missing attributes of
template by an empty string. |
String |
getName()
Name of the processor.
|
String |
getTarget()
The name of the attribute that contains the result of the template.
|
String |
getTemplate()
A formula with one or more attributes and raw text.
|
LogsStringBuilderProcessorType |
getType()
Type of logs string builder processor.
|
int |
hashCode() |
LogsStringBuilderProcessor |
isEnabled(Boolean isEnabled) |
LogsStringBuilderProcessor |
isReplaceMissing(Boolean isReplaceMissing) |
LogsStringBuilderProcessor |
name(String name) |
LogsStringBuilderProcessor |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setIsEnabled(Boolean isEnabled) |
void |
setIsReplaceMissing(Boolean isReplaceMissing) |
void |
setName(String name) |
void |
setTarget(String target) |
void |
setTemplate(String template) |
void |
setType(LogsStringBuilderProcessorType type) |
LogsStringBuilderProcessor |
target(String target) |
LogsStringBuilderProcessor |
template(String template) |
String |
toString() |
LogsStringBuilderProcessor |
type(LogsStringBuilderProcessorType type) |
public boolean unparsed
public static final String JSON_PROPERTY_IS_ENABLED
public static final String JSON_PROPERTY_IS_REPLACE_MISSING
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_TYPE
public LogsStringBuilderProcessor()
public LogsStringBuilderProcessor(String target, String template, LogsStringBuilderProcessorType type)
public LogsStringBuilderProcessor isEnabled(Boolean isEnabled)
@Nullable public Boolean getIsEnabled()
public void setIsEnabled(Boolean isEnabled)
public LogsStringBuilderProcessor isReplaceMissing(Boolean isReplaceMissing)
@Nullable public Boolean getIsReplaceMissing()
template by an empty string. If
false (default), skips the operation for missing attributes.public void setIsReplaceMissing(Boolean isReplaceMissing)
public LogsStringBuilderProcessor name(String name)
@Nullable public String getName()
public void setName(String name)
public LogsStringBuilderProcessor target(String target)
public String getTarget()
public void setTarget(String target)
public LogsStringBuilderProcessor template(String template)
public String getTemplate()
public void setTemplate(String template)
public LogsStringBuilderProcessor type(LogsStringBuilderProcessorType type)
public LogsStringBuilderProcessorType getType()
public void setType(LogsStringBuilderProcessorType type)
public LogsStringBuilderProcessor 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.