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 | 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 | 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 | 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 | 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, toJsonStringpublic 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.Copyright © 2023. All rights reserved.