@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HTTPLogItem extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_DDSOURCE |
static String |
JSON_PROPERTY_DDTAGS |
static String |
JSON_PROPERTY_HOSTNAME |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_SERVICE |
boolean |
unparsed |
Constructor and Description |
---|
HTTPLogItem() |
HTTPLogItem(String message) |
Modifier and Type | Method and Description |
---|---|
HTTPLogItem |
ddsource(String ddsource) |
HTTPLogItem |
ddtags(String ddtags) |
boolean |
equals(Object o)
Return true if this HTTPLogItem object is equal to o.
|
Map<String,String> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
String |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getDdsource()
The integration name associated with your log: the technology from which the log originated.
|
String |
getDdtags()
Tags associated with your logs.
|
String |
getHostname()
The name of the originating host of the log.
|
String |
getMessage()
The message reserved
attribute of your log.
|
String |
getService()
The name of the application or service generating the log events.
|
int |
hashCode() |
HTTPLogItem |
hostname(String hostname) |
HTTPLogItem |
message(String message) |
HTTPLogItem |
putAdditionalProperty(String key,
String value)
Set the additional (undeclared) property with the specified name and value.
|
HTTPLogItem |
service(String service) |
void |
setDdsource(String ddsource) |
void |
setDdtags(String ddtags) |
void |
setHostname(String hostname) |
void |
setMessage(String message) |
void |
setService(String service) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DDSOURCE
public static final String JSON_PROPERTY_DDTAGS
public static final String JSON_PROPERTY_HOSTNAME
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_SERVICE
public HTTPLogItem()
public HTTPLogItem(String message)
public HTTPLogItem ddsource(String ddsource)
@Nullable public String getDdsource()
public void setDdsource(String ddsource)
public HTTPLogItem ddtags(String ddtags)
@Nullable public String getDdtags()
public void setDdtags(String ddtags)
public HTTPLogItem hostname(String hostname)
@Nullable public String getHostname()
public void setHostname(String hostname)
public HTTPLogItem message(String message)
public String getMessage()
public void setMessage(String message)
public HTTPLogItem service(String service)
@Nullable public String getService()
public void setService(String service)
public HTTPLogItem putAdditionalProperty(String key, String value)
key
- The arbitrary key to setvalue
- The associated valuepublic Map<String,String> getAdditionalProperties()
public String getAdditionalProperty(String key)
key
- The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2023. All rights reserved.