public class PreviewLogStatistic extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PreviewLogStatistic() | 
| PreviewLogStatistic(PreviewLogStatistic 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 | getDstTopicId()Get 目标日志主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| String | getDstTopicName()Deprecated.   | 
| String | getFailReason()Get 失败错误信息, 空字符串""表示正常 | 
| Long | getLineNum()Get 行号。从0开始 | 
| String | getLogContent()Get 日志内容 | 
| String | getTime()Get 日志时间,格式:`2024-05-07 17:13:17.105`
- 入参时无效
- 出参时有效,为日志中的时间格式 | 
| void | setDstTopicId(String DstTopicId)Set 目标日志主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| void | setDstTopicName(String DstTopicName)Deprecated.   | 
| void | setFailReason(String FailReason)Set 失败错误信息, 空字符串""表示正常 | 
| void | setLineNum(Long LineNum)Set 行号。从0开始 | 
| void | setLogContent(String LogContent)Set 日志内容 | 
| void | setTime(String Time)Set 日志时间,格式:`2024-05-07 17:13:17.105`
- 入参时无效
- 出参时有效,为日志中的时间格式 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PreviewLogStatistic()
public PreviewLogStatistic(PreviewLogStatistic source)
public String getLogContent()
public void setLogContent(String LogContent)
LogContent - 日志内容public Long getLineNum()
public void setLineNum(Long LineNum)
LineNum - 行号。从0开始public String getDstTopicId()
public void setDstTopicId(String DstTopicId)
DstTopicId - 目标日志主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。public String getFailReason()
public void setFailReason(String FailReason)
FailReason - 失败错误信息, 空字符串""表示正常public String getTime()
public void setTime(String Time)
Time - 日志时间,格式:`2024-05-07 17:13:17.105`
- 入参时无效
- 出参时有效,为日志中的时间格式@Deprecated public String getDstTopicName()
@Deprecated public void setDstTopicName(String DstTopicName)
DstTopicName - 目标topic-name
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.