Class LogRechargeRuleInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.LogRechargeRuleInfo
-
public class LogRechargeRuleInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description LogRechargeRuleInfo()LogRechargeRuleInfo(LogRechargeRuleInfo 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDefaultTimeSrc()Get 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。BooleangetDefaultTimeSwitch()Get 使用默认时间,true:开启(默认值), flase:关闭LonggetEncodingFormat()Get 解析编码格式,0: UTF-8(默认值),1: GBKString[]getKeys()Get 日志Key列表,RechargeType为full_regex_log时必填 注意:此字段可能返回 null,表示取不到有效值。StringgetLogRegex()Get 整条日志匹配规则,只有RechargeType为fullregex_log时有效 注意:此字段可能返回 null,表示取不到有效值。String[]getMetadata()Get 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp 注意:此字段可能返回 null,表示取不到有效值。StringgetRechargeType()Get 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则StringgetTimeFormat()Get 时间字段格式 注意:此字段可能返回 null,表示取不到有效值。StringgetTimeKey()Get 时间字段 注意:此字段可能返回 null,表示取不到有效值。StringgetTimeRegex()Get 时间提取正则表达式 注意:此字段可能返回 null,表示取不到有效值。StringgetTimeZone()Get 时间字段时区 注意:此字段可能返回 null,表示取不到有效值。StringgetUnMatchLogKey()Get 解析失败日志的键名称 注意:此字段可能返回 null,表示取不到有效值。BooleangetUnMatchLogSwitch()Get 解析失败日志是否上传,true表示上传,false表示不上传LonggetUnMatchLogTimeSrc()Get 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。voidsetDefaultTimeSrc(Long DefaultTimeSrc)Set 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。voidsetDefaultTimeSwitch(Boolean DefaultTimeSwitch)Set 使用默认时间,true:开启(默认值), flase:关闭voidsetEncodingFormat(Long EncodingFormat)Set 解析编码格式,0: UTF-8(默认值),1: GBKvoidsetKeys(String[] Keys)Set 日志Key列表,RechargeType为full_regex_log时必填 注意:此字段可能返回 null,表示取不到有效值。voidsetLogRegex(String LogRegex)Set 整条日志匹配规则,只有RechargeType为fullregex_log时有效 注意:此字段可能返回 null,表示取不到有效值。voidsetMetadata(String[] Metadata)Set 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp 注意:此字段可能返回 null,表示取不到有效值。voidsetRechargeType(String RechargeType)Set 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则voidsetTimeFormat(String TimeFormat)Set 时间字段格式 注意:此字段可能返回 null,表示取不到有效值。voidsetTimeKey(String TimeKey)Set 时间字段 注意:此字段可能返回 null,表示取不到有效值。voidsetTimeRegex(String TimeRegex)Set 时间提取正则表达式 注意:此字段可能返回 null,表示取不到有效值。voidsetTimeZone(String TimeZone)Set 时间字段时区 注意:此字段可能返回 null,表示取不到有效值。voidsetUnMatchLogKey(String UnMatchLogKey)Set 解析失败日志的键名称 注意:此字段可能返回 null,表示取不到有效值。voidsetUnMatchLogSwitch(Boolean UnMatchLogSwitch)Set 解析失败日志是否上传,true表示上传,false表示不上传voidsetUnMatchLogTimeSrc(Long UnMatchLogTimeSrc)Set 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 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
-
LogRechargeRuleInfo
public LogRechargeRuleInfo()
-
LogRechargeRuleInfo
public LogRechargeRuleInfo(LogRechargeRuleInfo 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
-
getRechargeType
public String getRechargeType()
Get 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则- Returns:
- RechargeType 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则
-
setRechargeType
public void setRechargeType(String RechargeType)
Set 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则- Parameters:
RechargeType- 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则
-
getEncodingFormat
public Long getEncodingFormat()
Get 解析编码格式,0: UTF-8(默认值),1: GBK- Returns:
- EncodingFormat 解析编码格式,0: UTF-8(默认值),1: GBK
-
setEncodingFormat
public void setEncodingFormat(Long EncodingFormat)
Set 解析编码格式,0: UTF-8(默认值),1: GBK- Parameters:
EncodingFormat- 解析编码格式,0: UTF-8(默认值),1: GBK
-
getDefaultTimeSwitch
public Boolean getDefaultTimeSwitch()
Get 使用默认时间,true:开启(默认值), flase:关闭- Returns:
- DefaultTimeSwitch 使用默认时间,true:开启(默认值), flase:关闭
-
setDefaultTimeSwitch
public void setDefaultTimeSwitch(Boolean DefaultTimeSwitch)
Set 使用默认时间,true:开启(默认值), flase:关闭- Parameters:
DefaultTimeSwitch- 使用默认时间,true:开启(默认值), flase:关闭
-
getLogRegex
public String getLogRegex()
Get 整条日志匹配规则,只有RechargeType为fullregex_log时有效 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LogRegex 整条日志匹配规则,只有RechargeType为fullregex_log时有效 注意:此字段可能返回 null,表示取不到有效值。
-
setLogRegex
public void setLogRegex(String LogRegex)
Set 整条日志匹配规则,只有RechargeType为fullregex_log时有效 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LogRegex- 整条日志匹配规则,只有RechargeType为fullregex_log时有效 注意:此字段可能返回 null,表示取不到有效值。
-
getUnMatchLogSwitch
public Boolean getUnMatchLogSwitch()
Get 解析失败日志是否上传,true表示上传,false表示不上传- Returns:
- UnMatchLogSwitch 解析失败日志是否上传,true表示上传,false表示不上传
-
setUnMatchLogSwitch
public void setUnMatchLogSwitch(Boolean UnMatchLogSwitch)
Set 解析失败日志是否上传,true表示上传,false表示不上传- Parameters:
UnMatchLogSwitch- 解析失败日志是否上传,true表示上传,false表示不上传
-
getUnMatchLogKey
public String getUnMatchLogKey()
Get 解析失败日志的键名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UnMatchLogKey 解析失败日志的键名称 注意:此字段可能返回 null,表示取不到有效值。
-
setUnMatchLogKey
public void setUnMatchLogKey(String UnMatchLogKey)
Set 解析失败日志的键名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UnMatchLogKey- 解析失败日志的键名称 注意:此字段可能返回 null,表示取不到有效值。
-
getUnMatchLogTimeSrc
public Long getUnMatchLogTimeSrc()
Get 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UnMatchLogTimeSrc 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。
-
setUnMatchLogTimeSrc
public void setUnMatchLogTimeSrc(Long UnMatchLogTimeSrc)
Set 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UnMatchLogTimeSrc- 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。
-
getDefaultTimeSrc
public Long getDefaultTimeSrc()
Get 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DefaultTimeSrc 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。
-
setDefaultTimeSrc
public void setDefaultTimeSrc(Long DefaultTimeSrc)
Set 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DefaultTimeSrc- 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 注意:此字段可能返回 null,表示取不到有效值。
-
getTimeKey
public String getTimeKey()
Get 时间字段 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TimeKey 时间字段 注意:此字段可能返回 null,表示取不到有效值。
-
setTimeKey
public void setTimeKey(String TimeKey)
Set 时间字段 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TimeKey- 时间字段 注意:此字段可能返回 null,表示取不到有效值。
-
getTimeRegex
public String getTimeRegex()
Get 时间提取正则表达式 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TimeRegex 时间提取正则表达式 注意:此字段可能返回 null,表示取不到有效值。
-
setTimeRegex
public void setTimeRegex(String TimeRegex)
Set 时间提取正则表达式 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TimeRegex- 时间提取正则表达式 注意:此字段可能返回 null,表示取不到有效值。
-
getTimeFormat
public String getTimeFormat()
Get 时间字段格式 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TimeFormat 时间字段格式 注意:此字段可能返回 null,表示取不到有效值。
-
setTimeFormat
public void setTimeFormat(String TimeFormat)
Set 时间字段格式 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TimeFormat- 时间字段格式 注意:此字段可能返回 null,表示取不到有效值。
-
getTimeZone
public String getTimeZone()
Get 时间字段时区 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TimeZone 时间字段时区 注意:此字段可能返回 null,表示取不到有效值。
-
setTimeZone
public void setTimeZone(String TimeZone)
Set 时间字段时区 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TimeZone- 时间字段时区 注意:此字段可能返回 null,表示取不到有效值。
-
getMetadata
public String[] getMetadata()
Get 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Metadata 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp 注意:此字段可能返回 null,表示取不到有效值。
-
setMetadata
public void setMetadata(String[] Metadata)
Set 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Metadata- 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp 注意:此字段可能返回 null,表示取不到有效值。
-
getKeys
public String[] getKeys()
Get 日志Key列表,RechargeType为full_regex_log时必填 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Keys 日志Key列表,RechargeType为full_regex_log时必填 注意:此字段可能返回 null,表示取不到有效值。
-
setKeys
public void setKeys(String[] Keys)
Set 日志Key列表,RechargeType为full_regex_log时必填 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Keys- 日志Key列表,RechargeType为full_regex_log时必填 注意:此字段可能返回 null,表示取不到有效值。
-
-