public class CreateLogConfigRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateLogConfigRequest() |
CreateLogConfigRequest(CreateLogConfigRequest 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 |
getApplicationId()
Get 应用 ID
|
String |
getBeginningRegex()
Get 首行正则表达式,当LogType=multiline_log 时生效
|
String |
getEnvironmentId()
Get 环境 ID
|
LogConfigExtractRule |
getExtractRule()
Get 导出规则
|
String |
getFilePattern()
Get 收集文件名模式,当 InputType=container_file 时生效
|
String |
getInputType()
Get 收集类型,container_stdout 为标准输出;container_file 为文件;
|
String |
getLogPath()
Get 收集文件目录,当 InputType=container_file 时生效
|
String |
getLogsetId()
Get 日志集 ID
|
String |
getLogType()
Get 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;json_log 为 json格式;fullregex_log 为单行正则;multiline_fullregex_log 为多行正则
|
String |
getName()
Get 配置名
|
String |
getTopicId()
Get 日志主题 ID
|
void |
setApplicationId(String ApplicationId)
Set 应用 ID
|
void |
setBeginningRegex(String BeginningRegex)
Set 首行正则表达式,当LogType=multiline_log 时生效
|
void |
setEnvironmentId(String EnvironmentId)
Set 环境 ID
|
void |
setExtractRule(LogConfigExtractRule ExtractRule)
Set 导出规则
|
void |
setFilePattern(String FilePattern)
Set 收集文件名模式,当 InputType=container_file 时生效
|
void |
setInputType(String InputType)
Set 收集类型,container_stdout 为标准输出;container_file 为文件;
|
void |
setLogPath(String LogPath)
Set 收集文件目录,当 InputType=container_file 时生效
|
void |
setLogsetId(String LogsetId)
Set 日志集 ID
|
void |
setLogType(String LogType)
Set 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;json_log 为 json格式;fullregex_log 为单行正则;multiline_fullregex_log 为多行正则
|
void |
setName(String Name)
Set 配置名
|
void |
setTopicId(String TopicId)
Set 日志主题 ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateLogConfigRequest()
public CreateLogConfigRequest(CreateLogConfigRequest source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- 环境 IDpublic String getName()
public void setName(String Name)
Name
- 配置名public String getInputType()
public void setInputType(String InputType)
InputType
- 收集类型,container_stdout 为标准输出;container_file 为文件;public String getApplicationId()
public void setApplicationId(String ApplicationId)
ApplicationId
- 应用 IDpublic String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId
- 日志集 IDpublic String getTopicId()
public void setTopicId(String TopicId)
TopicId
- 日志主题 IDpublic String getLogType()
public void setLogType(String LogType)
LogType
- 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;json_log 为 json格式;fullregex_log 为单行正则;multiline_fullregex_log 为多行正则public String getBeginningRegex()
public void setBeginningRegex(String BeginningRegex)
BeginningRegex
- 首行正则表达式,当LogType=multiline_log 时生效public String getLogPath()
public void setLogPath(String LogPath)
LogPath
- 收集文件目录,当 InputType=container_file 时生效public String getFilePattern()
public void setFilePattern(String FilePattern)
FilePattern
- 收集文件名模式,当 InputType=container_file 时生效public LogConfigExtractRule getExtractRule()
public void setExtractRule(LogConfigExtractRule ExtractRule)
ExtractRule
- 导出规则Copyright © 2024. All rights reserved.