Class LogConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tem.v20210701.models.LogConfig
-
public class LogConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplicationId()Get 应用 ID 注意:此字段可能返回 null,表示取不到有效值。StringgetApplicationName()Get 应用名 注意:此字段可能返回 null,表示取不到有效值。StringgetBeginningRegex()Get 首行正则表达式,当 LogType 为多行全文、多行正则时生效 注意:此字段可能返回 null,表示取不到有效值。StringgetCreateDate()Get 创建时间 注意:此字段可能返回 null,表示取不到有效值。LogConfigExtractRulegetExtractRule()Get 导出规则 注意:此字段可能返回 null,表示取不到有效值。StringgetFilePattern()Get 收集文件名模式,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。StringgetInputType()Get 收集类型,container_stdout 为标准输出;container_file 为文件;StringgetLogPath()Get 收集文件目录,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。StringgetLogsetId()Get 日志集 ID 注意:此字段可能返回 null,表示取不到有效值。StringgetLogType()Get 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文; fullregex_log 为单行正则; multiline_fullregex_log 为多行正则; json_log 为 json;StringgetModifyDate()Get 更新时间 注意:此字段可能返回 null,表示取不到有效值。StringgetName()Get 名称StringgetTopicId()Get 日志主题 ID 注意:此字段可能返回 null,表示取不到有效值。voidsetApplicationId(String ApplicationId)Set 应用 ID 注意:此字段可能返回 null,表示取不到有效值。voidsetApplicationName(String ApplicationName)Set 应用名 注意:此字段可能返回 null,表示取不到有效值。voidsetBeginningRegex(String BeginningRegex)Set 首行正则表达式,当 LogType 为多行全文、多行正则时生效 注意:此字段可能返回 null,表示取不到有效值。voidsetCreateDate(String CreateDate)Set 创建时间 注意:此字段可能返回 null,表示取不到有效值。voidsetExtractRule(LogConfigExtractRule ExtractRule)Set 导出规则 注意:此字段可能返回 null,表示取不到有效值。voidsetFilePattern(String FilePattern)Set 收集文件名模式,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。voidsetInputType(String InputType)Set 收集类型,container_stdout 为标准输出;container_file 为文件;voidsetLogPath(String LogPath)Set 收集文件目录,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。voidsetLogsetId(String LogsetId)Set 日志集 ID 注意:此字段可能返回 null,表示取不到有效值。voidsetLogType(String LogType)Set 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文; fullregex_log 为单行正则; multiline_fullregex_log 为多行正则; json_log 为 json;voidsetModifyDate(String ModifyDate)Set 更新时间 注意:此字段可能返回 null,表示取不到有效值。voidsetName(String Name)Set 名称voidsetTopicId(String TopicId)Set 日志主题 ID 注意:此字段可能返回 null,表示取不到有效值。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
-
LogConfig
public LogConfig()
-
LogConfig
public LogConfig(LogConfig 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
-
getName
public String getName()
Get 名称- Returns:
- Name 名称
-
setName
public void setName(String Name)
Set 名称- Parameters:
Name- 名称
-
getInputType
public String getInputType()
Get 收集类型,container_stdout 为标准输出;container_file 为文件;- Returns:
- InputType 收集类型,container_stdout 为标准输出;container_file 为文件;
-
setInputType
public void setInputType(String InputType)
Set 收集类型,container_stdout 为标准输出;container_file 为文件;- Parameters:
InputType- 收集类型,container_stdout 为标准输出;container_file 为文件;
-
getLogsetId
public String getLogsetId()
Get 日志集 ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LogsetId 日志集 ID 注意:此字段可能返回 null,表示取不到有效值。
-
setLogsetId
public void setLogsetId(String LogsetId)
Set 日志集 ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LogsetId- 日志集 ID 注意:此字段可能返回 null,表示取不到有效值。
-
getTopicId
public String getTopicId()
Get 日志主题 ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TopicId 日志主题 ID 注意:此字段可能返回 null,表示取不到有效值。
-
setTopicId
public void setTopicId(String TopicId)
Set 日志主题 ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TopicId- 日志主题 ID 注意:此字段可能返回 null,表示取不到有效值。
-
getLogType
public String getLogType()
Get 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文; fullregex_log 为单行正则; multiline_fullregex_log 为多行正则; json_log 为 json;- Returns:
- LogType 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文; fullregex_log 为单行正则; multiline_fullregex_log 为多行正则; json_log 为 json;
-
setLogType
public void setLogType(String LogType)
Set 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文; fullregex_log 为单行正则; multiline_fullregex_log 为多行正则; json_log 为 json;- Parameters:
LogType- 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文; fullregex_log 为单行正则; multiline_fullregex_log 为多行正则; json_log 为 json;
-
getBeginningRegex
public String getBeginningRegex()
Get 首行正则表达式,当 LogType 为多行全文、多行正则时生效 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BeginningRegex 首行正则表达式,当 LogType 为多行全文、多行正则时生效 注意:此字段可能返回 null,表示取不到有效值。
-
setBeginningRegex
public void setBeginningRegex(String BeginningRegex)
Set 首行正则表达式,当 LogType 为多行全文、多行正则时生效 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BeginningRegex- 首行正则表达式,当 LogType 为多行全文、多行正则时生效 注意:此字段可能返回 null,表示取不到有效值。
-
getLogPath
public String getLogPath()
Get 收集文件目录,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LogPath 收集文件目录,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。
-
setLogPath
public void setLogPath(String LogPath)
Set 收集文件目录,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LogPath- 收集文件目录,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。
-
getFilePattern
public String getFilePattern()
Get 收集文件名模式,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FilePattern 收集文件名模式,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。
-
setFilePattern
public void setFilePattern(String FilePattern)
Set 收集文件名模式,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FilePattern- 收集文件名模式,当 InputType=container_file 时生效 注意:此字段可能返回 null,表示取不到有效值。
-
getCreateDate
public String getCreateDate()
Get 创建时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CreateDate 创建时间 注意:此字段可能返回 null,表示取不到有效值。
-
setCreateDate
public void setCreateDate(String CreateDate)
Set 创建时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CreateDate- 创建时间 注意:此字段可能返回 null,表示取不到有效值。
-
getModifyDate
public String getModifyDate()
Get 更新时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ModifyDate 更新时间 注意:此字段可能返回 null,表示取不到有效值。
-
setModifyDate
public void setModifyDate(String ModifyDate)
Set 更新时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ModifyDate- 更新时间 注意:此字段可能返回 null,表示取不到有效值。
-
getApplicationId
public String getApplicationId()
Get 应用 ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ApplicationId 应用 ID 注意:此字段可能返回 null,表示取不到有效值。
-
setApplicationId
public void setApplicationId(String ApplicationId)
Set 应用 ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ApplicationId- 应用 ID 注意:此字段可能返回 null,表示取不到有效值。
-
getApplicationName
public String getApplicationName()
Get 应用名 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ApplicationName 应用名 注意:此字段可能返回 null,表示取不到有效值。
-
setApplicationName
public void setApplicationName(String ApplicationName)
Set 应用名 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ApplicationName- 应用名 注意:此字段可能返回 null,表示取不到有效值。
-
getExtractRule
public LogConfigExtractRule getExtractRule()
Get 导出规则 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ExtractRule 导出规则 注意:此字段可能返回 null,表示取不到有效值。
-
setExtractRule
public void setExtractRule(LogConfigExtractRule ExtractRule)
Set 导出规则 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ExtractRule- 导出规则 注意:此字段可能返回 null,表示取不到有效值。
-
-