Class LogContextInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.LogContextInfo
-
public class LogContextInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description LogContextInfo()LogContextInfo(LogContextInfo 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBTime()Get 日志时间戳StringgetContent()Get 日志内容StringgetFilename()Get 采集路径StringgetHostName()Get 日志来源主机名称 注意:此字段可能返回 null,表示取不到有效值。StringgetIndexStatus()Get 日志创建索引异常原因(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。StringgetPkgId()Get 日志包序号LonggetPkgLogId()Get 日志包内一条日志的序号StringgetRawLog()Get 原始日志(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。StringgetSource()Get 日志来源设备voidsetBTime(Long BTime)Set 日志时间戳voidsetContent(String Content)Set 日志内容voidsetFilename(String Filename)Set 采集路径voidsetHostName(String HostName)Set 日志来源主机名称 注意:此字段可能返回 null,表示取不到有效值。voidsetIndexStatus(String IndexStatus)Set 日志创建索引异常原因(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。voidsetPkgId(String PkgId)Set 日志包序号voidsetPkgLogId(Long PkgLogId)Set 日志包内一条日志的序号voidsetRawLog(String RawLog)Set 原始日志(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。voidsetSource(String Source)Set 日志来源设备voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
LogContextInfo
public LogContextInfo()
-
LogContextInfo
public LogContextInfo(LogContextInfo 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.
-
-
Method Detail
-
getSource
public String getSource()
Get 日志来源设备- Returns:
- Source 日志来源设备
-
setSource
public void setSource(String Source)
Set 日志来源设备- Parameters:
Source- 日志来源设备
-
getFilename
public String getFilename()
Get 采集路径- Returns:
- Filename 采集路径
-
setFilename
public void setFilename(String Filename)
Set 采集路径- Parameters:
Filename- 采集路径
-
getContent
public String getContent()
Get 日志内容- Returns:
- Content 日志内容
-
setContent
public void setContent(String Content)
Set 日志内容- Parameters:
Content- 日志内容
-
getPkgId
public String getPkgId()
Get 日志包序号- Returns:
- PkgId 日志包序号
-
setPkgId
public void setPkgId(String PkgId)
Set 日志包序号- Parameters:
PkgId- 日志包序号
-
getPkgLogId
public Long getPkgLogId()
Get 日志包内一条日志的序号- Returns:
- PkgLogId 日志包内一条日志的序号
-
setPkgLogId
public void setPkgLogId(Long PkgLogId)
Set 日志包内一条日志的序号- Parameters:
PkgLogId- 日志包内一条日志的序号
-
getBTime
public Long getBTime()
Get 日志时间戳- Returns:
- BTime 日志时间戳
-
setBTime
public void setBTime(Long BTime)
Set 日志时间戳- Parameters:
BTime- 日志时间戳
-
getHostName
public String getHostName()
Get 日志来源主机名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- HostName 日志来源主机名称 注意:此字段可能返回 null,表示取不到有效值。
-
setHostName
public void setHostName(String HostName)
Set 日志来源主机名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
HostName- 日志来源主机名称 注意:此字段可能返回 null,表示取不到有效值。
-
getRawLog
public String getRawLog()
Get 原始日志(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RawLog 原始日志(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。
-
setRawLog
public void setRawLog(String RawLog)
Set 原始日志(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RawLog- 原始日志(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。
-
getIndexStatus
public String getIndexStatus()
Get 日志创建索引异常原因(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IndexStatus 日志创建索引异常原因(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。
-
setIndexStatus
public void setIndexStatus(String IndexStatus)
Set 日志创建索引异常原因(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IndexStatus- 日志创建索引异常原因(仅在日志创建索引异常时有值) 注意:此字段可能返回 null,表示取不到有效值。
-
-