public class CreateConfigRequest extends AbstractModel
Constructor and Description |
---|
CreateConfigRequest() |
CreateConfigRequest(CreateConfigRequest 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 |
---|---|
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 configuration name
|
String |
getOutput()
Get Log topic ID (TopicId) of collection configuration
|
String |
getPath()
Get Log collection path containing the filename
|
String |
getUserDefineRule()
Get Custom collection rule, which is a serialized JSON string
|
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 configuration name
|
void |
setOutput(String Output)
Set Log topic ID (TopicId) of collection configuration
|
void |
setPath(String Path)
Set Log collection path containing the filename
|
void |
setUserDefineRule(String UserDefineRule)
Set Custom collection rule, 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 CreateConfigRequest()
public CreateConfigRequest(CreateConfigRequest source)
public String getName()
public void setName(String Name)
Name
- Collection configuration namepublic String getOutput()
public void setOutput(String Output)
Output
- Log topic ID (TopicId) of collection configurationpublic 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 getUserDefineRule()
public void setUserDefineRule(String UserDefineRule)
UserDefineRule
- Custom collection rule, which is a serialized JSON stringCopyright © 2023. All rights reserved.