Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AuditLog . |
Modifier and Type | Method and Description |
---|---|
AuditLog |
build() |
AuditLog.Builder |
setAppname(java.lang.String appname)
Application name field of the log
|
AuditLog.Builder |
setFacility(java.lang.Long facility)
Facility field of the log format: int64
|
AuditLog.Builder |
setFullLog(java.lang.String fullLog)
Full log with both header and message
|
AuditLog.Builder |
setHostname(java.lang.String hostname)
Hostname field of the log
|
AuditLog.Builder |
setMessage(java.lang.String message)
Message field of the log
|
AuditLog.Builder |
setMsgid(java.lang.String msgid)
Message ID field of the log
|
AuditLog.Builder |
setPriority(java.lang.Long priority)
Priority field of the log format: int64
|
AuditLog.Builder |
setProcid(java.lang.Long procid)
Process ID field of the log format: int64
|
AuditLog.Builder |
setStructData(StructuredData structData) |
AuditLog.Builder |
setTimestamp(java.lang.String timestamp)
Date and time in UTC of the log
|
public Builder()
AuditLog
.public AuditLog.Builder setAppname(java.lang.String appname)
appname
- New value for the property.public AuditLog.Builder setFacility(java.lang.Long facility)
facility
- New value for the property.public AuditLog.Builder setFullLog(java.lang.String fullLog)
fullLog
- New value for the property.public AuditLog.Builder setHostname(java.lang.String hostname)
hostname
- New value for the property.public AuditLog.Builder setMessage(java.lang.String message)
message
- New value for the property.public AuditLog.Builder setMsgid(java.lang.String msgid)
msgid
- New value for the property.public AuditLog.Builder setPriority(java.lang.Long priority)
priority
- New value for the property.public AuditLog.Builder setProcid(java.lang.Long procid)
procid
- New value for the property.public AuditLog.Builder setStructData(StructuredData structData)
structData
- New value for the property.public AuditLog.Builder setTimestamp(java.lang.String timestamp)
timestamp
- New value for the property.public AuditLog build()