public class LogInfo extends AbstractModel
Constructor and Description |
---|
LogInfo() |
LogInfo(LogInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Get Log filename
|
String |
getHostName()
Get Source host name of logs
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getIndexStatus()
Get The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs).
|
String |
getLogJson()
Get Serialized JSON string of log content
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getPkgId()
Get ID of the request package for log reporting
|
String |
getPkgLogId()
Get Log ID in request package
|
String |
getRawLog()
Get Raw log (this parameter has a value only when an exception occurred while creating indexes for logs).
|
String |
getSource()
Get Log source IP
|
Long |
getTime()
Get Log time in milliseconds
|
String |
getTopicId()
Get Log topic ID
|
String |
getTopicName()
Get Log topic name
|
void |
setFileName(String FileName)
Set Log filename
|
void |
setHostName(String HostName)
Set Source host name of logs
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setIndexStatus(String IndexStatus)
Set The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs).
|
void |
setLogJson(String LogJson)
Set Serialized JSON string of log content
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setPkgId(String PkgId)
Set ID of the request package for log reporting
|
void |
setPkgLogId(String PkgLogId)
Set Log ID in request package
|
void |
setRawLog(String RawLog)
Set Raw log (this parameter has a value only when an exception occurred while creating indexes for logs).
|
void |
setSource(String Source)
Set Log source IP
|
void |
setTime(Long Time)
Set Log time in milliseconds
|
void |
setTopicId(String TopicId)
Set Log topic ID
|
void |
setTopicName(String TopicName)
Set Log topic name
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public LogInfo()
public LogInfo(LogInfo source)
public Long getTime()
public void setTime(Long Time)
Time
- Log time in millisecondspublic String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Log topic IDpublic String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Log topic namepublic String getSource()
public void setSource(String Source)
Source
- Log source IPpublic String getFileName()
public void setFileName(String FileName)
FileName
- Log filenamepublic String getPkgId()
public void setPkgId(String PkgId)
PkgId
- ID of the request package for log reportingpublic String getPkgLogId()
public void setPkgLogId(String PkgLogId)
PkgLogId
- Log ID in request packagepublic String getLogJson()
public void setLogJson(String LogJson)
LogJson
- Serialized JSON string of log content
Note: this field may return `null`, indicating that no valid values can be obtained.public String getHostName()
public void setHostName(String HostName)
HostName
- Source host name of logs
Note: This field may return `null`, indicating that no valid value was found.public String getRawLog()
public void setRawLog(String RawLog)
RawLog
- Raw log (this parameter has a value only when an exception occurred while creating indexes for logs).
Note: This field may return null, indicating that no valid values can be obtained.public String getIndexStatus()
public void setIndexStatus(String IndexStatus)
IndexStatus
- The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs).
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.