public static interface Message.Builder
| Modifier and Type | Method and Description |
|---|---|
Message |
build()
Method is used to build the representing message.
|
int |
cefVersion()
Version of CEF the message is using.
|
Message.Builder |
cefVersion(int cefVersion)
Sets the CEF version for the message.
|
String |
deviceEventClassId()
The internal event id for the message.
|
Message.Builder |
deviceEventClassId(String deviceEventClassId)
Sets the deviceEventClassId for the message.
|
String |
deviceProduct()
The product that logged the message.
|
Message.Builder |
deviceProduct(String deviceProduct)
Sets the deviceProduct for the message.
|
String |
deviceVendor()
Vendor of the device that logged the message.
|
Message.Builder |
deviceVendor(String deviceVendor)
Sets the deviceVendor for the message.
|
String |
deviceVersion()
The version of the device that is logging the message.
|
Message.Builder |
deviceVersion(String deviceVersion)
Sets the deviceVersion for the message.
|
Map<String,String> |
extensions()
Key value pairs of any extensions to the message.
|
Message.Builder |
extensions(Map<String,String> extensions)
Sets the extensions for the message.
|
String |
host()
Host for the message.
|
Message.Builder |
host(String host)
Sets the host for the message
|
String |
name()
Name of the event.
|
Message.Builder |
name(String name)
Sets the name for the message.
|
String |
severity()
The severity of the message.
|
Message.Builder |
severity(String severity)
Sets the severity for the message.
|
Date |
timestamp()
Timestamp for the message
|
Message.Builder |
timestamp(Date timestamp)
Sets the timestamp for the message
|
Message.Builder timestamp(Date timestamp)
timestamp - Message.Builder host(String host)
host - Message.Builder cefVersion(int cefVersion)
cefVersion - Message.Builder deviceVendor(String deviceVendor)
deviceVendor - Message.Builder deviceProduct(String deviceProduct)
deviceProduct - Message.Builder deviceVersion(String deviceVersion)
deviceVersion - Message.Builder deviceEventClassId(String deviceEventClassId)
deviceEventClassId - Message.Builder name(String name)
name - Message.Builder severity(String severity)
severity - Message.Builder extensions(Map<String,String> extensions)
extensions - Date timestamp()
String host()
int cefVersion()
String deviceVendor()
String deviceProduct()
String deviceVersion()
String deviceEventClassId()
String name()
String severity()
Map<String,String> extensions()
Message build()
Copyright © 2017. All rights reserved.