public class ConfigInfo extends AbstractModel
Constructor and Description |
---|
ConfigInfo() |
ConfigInfo(ConfigInfo 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 |
getConfigId()
Get Collection rule configuration ID
|
String |
getCreateTime()
Get Creation time
|
ExcludePathInfo[] |
getExcludePaths()
Get Collection path blocklist
Note: this field may return `null`, indicating that no valid values can be obtained.
|
ExtractRuleInfo |
getExtractRule()
Get Extraction rule.
|
String |
getLogFormat()
Get Log formatting method
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getLogType()
Get Type of the log to be collected.
|
String |
getName()
Get Name of the collection rule configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getOutput()
Get Log topic ID (TopicId) of collection configuration
|
String |
getPath()
Get Log collection path
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getUpdateTime()
Get Update time
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getUserDefineRule()
Get Custom parsing string
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setConfigId(String ConfigId)
Set Collection rule configuration ID
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setExcludePaths(ExcludePathInfo[] ExcludePaths)
Set Collection path blocklist
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setExtractRule(ExtractRuleInfo ExtractRule)
Set Extraction rule.
|
void |
setLogFormat(String LogFormat)
Set Log formatting method
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setLogType(String LogType)
Set Type of the log to be collected.
|
void |
setName(String Name)
Set Name of the collection rule configuration
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setOutput(String Output)
Set Log topic ID (TopicId) of collection configuration
|
void |
setPath(String Path)
Set Log collection path
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Update time
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setUserDefineRule(String UserDefineRule)
Set Custom parsing string
Note: this field may return `null`, indicating that no valid values can be obtained.
|
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 ConfigInfo()
public ConfigInfo(ConfigInfo source)
public String getConfigId()
public void setConfigId(String ConfigId)
ConfigId
- Collection rule configuration IDpublic String getName()
public void setName(String Name)
Name
- Name of the collection rule configuration
Note: This field may return null, indicating that no valid values can be obtained.public String getLogFormat()
public void setLogFormat(String LogFormat)
LogFormat
- Log formatting method
Note: this field may return `null`, indicating that no valid values can be obtained.public String getPath()
public void setPath(String Path)
Path
- Log collection path
Note: this field may return `null`, indicating that no valid values can be obtained.public String getLogType()
public void setLogType(String LogType)
LogType
- Type of the log to be collected. Valid values: `json_log`: log in JSON format; `delimiter_log`: log in delimited format; `minimalist_log`: minimalist log; `multiline_log`: log in multi-line format; `fullregex_log`: log in full regex format. Default value: `minimalist_log`
Note: this field may return `null`, indicating that no valid values can be obtained.public ExtractRuleInfo getExtractRule()
public void setExtractRule(ExtractRuleInfo ExtractRule)
ExtractRule
- Extraction rule. If `ExtractRule` is set, `LogType` must be set
Note: this field may return `null`, indicating that no valid values can be obtained.public ExcludePathInfo[] getExcludePaths()
public void setExcludePaths(ExcludePathInfo[] ExcludePaths)
ExcludePaths
- Collection path blocklist
Note: this field may return `null`, indicating that no valid values can be obtained.public String getOutput()
public void setOutput(String Output)
Output
- Log topic ID (TopicId) of collection configurationpublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update time
Note: this field may return `null`, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic String getUserDefineRule()
public void setUserDefineRule(String UserDefineRule)
UserDefineRule
- Custom parsing string
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.