Package com.datadog.api.client.v1.model
Class LogsUserAgentParser
java.lang.Object
com.datadog.api.client.v1.model.LogsUserAgentParser
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsUserAgentParser
extends Object
The User-Agent parser takes a User-Agent attribute and extracts the OS, browser, device, and
other user data. It recognizes major bots like the Google Bot, Yahoo Slurp, and Bing.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsUserAgentParser(List<String> sources, String target, LogsUserAgentParserType type) -
Method Summary
Modifier and TypeMethodDescriptionaddSourcesItem(String sourcesItem) booleanReturn true if this LogsUserAgentParser object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether or not the processor is enabled.Define if the source attribute is URL encoded or not.getName()Name of the processor.Array of source attributes.Name of the parent attribute that contains all the extracted details from thesources.getType()Type of logs User-Agent parser.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIsEnabled(Boolean isEnabled) voidsetIsEncoded(Boolean isEncoded) voidvoidsetSources(List<String> sources) voidvoidtoString()type(LogsUserAgentParserType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_IS_ENCODED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LogsUserAgentParser
public LogsUserAgentParser() -
LogsUserAgentParser
-
-
Method Details
-
isEnabled
-
getIsEnabled
Whether or not the processor is enabled.- Returns:
- isEnabled
-
setIsEnabled
-
isEncoded
-
getIsEncoded
Define if the source attribute is URL encoded or not.- Returns:
- isEncoded
-
setIsEncoded
-
name
-
getName
Name of the processor.- Returns:
- name
-
setName
-
sources
-
addSourcesItem
-
getSources
Array of source attributes.- Returns:
- sources
-
setSources
-
target
-
getTarget
Name of the parent attribute that contains all the extracted details from thesources.- Returns:
- target
-
setTarget
-
type
-
getType
Type of logs User-Agent parser.- 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:
- LogsUserAgentParser
-
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 LogsUserAgentParser object is equal to o. -
hashCode
public int hashCode() -
toString
-