public class ModifyConfigRequest extends AbstractModel
Constructor and Description |
---|
ModifyConfigRequest() |
ModifyConfigRequest(ModifyConfigRequest 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
|
ExcludePathInfo[] |
getExcludePaths()
Get Collection path blocklist
|
ExtractRuleInfo |
getExtractRule()
Get Extraction rule.
|
String |
getLogType()
Get Type of the log to be collected.
|
String |
getName()
Get Collection rule configuration name
|
String |
getOutput()
Get Log topic (TopicId) associated with collection configuration
|
String |
getPath()
Get Log collection path containing the filename
|
String |
getUserDefineRule()
Get Custom parsing string, which is a serialized JSON string
|
void |
setConfigId(String ConfigId)
Set Collection rule configuration ID
|
void |
setExcludePaths(ExcludePathInfo[] ExcludePaths)
Set Collection path blocklist
|
void |
setExtractRule(ExtractRuleInfo ExtractRule)
Set Extraction rule.
|
void |
setLogType(String LogType)
Set Type of the log to be collected.
|
void |
setName(String Name)
Set Collection rule configuration name
|
void |
setOutput(String Output)
Set Log topic (TopicId) associated with collection configuration
|
void |
setPath(String Path)
Set Log collection path containing the filename
|
void |
setUserDefineRule(String UserDefineRule)
Set Custom parsing string, which is a serialized JSON string
|
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 ModifyConfigRequest()
public ModifyConfigRequest(ModifyConfigRequest source)
public String getConfigId()
public void setConfigId(String ConfigId)
ConfigId
- Collection rule configuration IDpublic String getName()
public void setName(String Name)
Name
- Collection rule configuration namepublic String getPath()
public void setPath(String Path)
Path
- Log collection path containing the filenamepublic 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`public ExtractRuleInfo getExtractRule()
public void setExtractRule(ExtractRuleInfo ExtractRule)
ExtractRule
- Extraction rule. If `ExtractRule` is set, `LogType` must be set.public ExcludePathInfo[] getExcludePaths()
public void setExcludePaths(ExcludePathInfo[] ExcludePaths)
ExcludePaths
- Collection path blocklistpublic String getOutput()
public void setOutput(String Output)
Output
- Log topic (TopicId) associated with collection configurationpublic String getUserDefineRule()
public void setUserDefineRule(String UserDefineRule)
UserDefineRule
- Custom parsing string, which is a serialized JSON stringCopyright © 2023. All rights reserved.