public class LogRechargeRuleInfo extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDefaultTimeSrc()
Get Default time source.
|
Boolean |
getDefaultTimeSwitch()
Get Whether to use the default time.
|
Long |
getEncodingFormat()
Get Encoding format.
|
String[] |
getKeys()
Get List of log keys, which is required when `RechargeType` is set to `full_regex_log`
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getLogRegex()
Get Full log matching rule, which is valid only if `RechargeType` is `fullregex_log`.
|
String[] |
getMetadata()
Get Metadata information.
|
String |
getRechargeType()
Get Import type.
|
String |
getTimeFormat()
Get Time field format
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTimeKey()
Get Time field
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTimeRegex()
Get Time regular expression
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTimeZone()
Get Time zone
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUnMatchLogKey()
Get Key of the log that failed to be parsed
Note: This field may return null, indicating that no valid values can be obtained.
|
Boolean |
getUnMatchLogSwitch()
Get Whether to upload the logs that failed to be parsed.
|
Long |
getUnMatchLogTimeSrc()
Get Time source of the log that failed to be parsed.
|
void |
setDefaultTimeSrc(Long DefaultTimeSrc)
Set Default time source.
|
void |
setDefaultTimeSwitch(Boolean DefaultTimeSwitch)
Set Whether to use the default time.
|
void |
setEncodingFormat(Long EncodingFormat)
Set Encoding format.
|
void |
setKeys(String[] Keys)
Set List of log keys, which is required when `RechargeType` is set to `full_regex_log`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setLogRegex(String LogRegex)
Set Full log matching rule, which is valid only if `RechargeType` is `fullregex_log`.
|
void |
setMetadata(String[] Metadata)
Set Metadata information.
|
void |
setRechargeType(String RechargeType)
Set Import type.
|
void |
setTimeFormat(String TimeFormat)
Set Time field format
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTimeKey(String TimeKey)
Set Time field
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTimeRegex(String TimeRegex)
Set Time regular expression
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTimeZone(String TimeZone)
Set Time zone
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUnMatchLogKey(String UnMatchLogKey)
Set Key of the log that failed to be parsed
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUnMatchLogSwitch(Boolean UnMatchLogSwitch)
Set Whether to upload the logs that failed to be parsed.
|
void |
setUnMatchLogTimeSrc(Long UnMatchLogTimeSrc)
Set Time source of the log that failed to be parsed.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public LogRechargeRuleInfo()
public LogRechargeRuleInfo(LogRechargeRuleInfo source)
public String getRechargeType()
public void setRechargeType(String RechargeType)
RechargeType
- Import type. Valid values: `json_log` (JSON logs), `minimalist_log` (single-line full text), and fullregex_log u200d(single-line full regex)public Long getEncodingFormat()
public void setEncodingFormat(Long EncodingFormat)
EncodingFormat
- Encoding format. Valid values: 0 (default, UTF-8) and 1 GBK).public Boolean getDefaultTimeSwitch()
public void setDefaultTimeSwitch(Boolean DefaultTimeSwitch)
DefaultTimeSwitch
- Whether to use the default time. Valid values: `true` (default) and `false`.public String getLogRegex()
public void setLogRegex(String LogRegex)
LogRegex
- Full log matching rule, which is valid only if `RechargeType` is `fullregex_log`.
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getUnMatchLogSwitch()
public void setUnMatchLogSwitch(Boolean UnMatchLogSwitch)
UnMatchLogSwitch
- Whether to upload the logs that failed to be parsed. Valid values: `true` and `false`.public String getUnMatchLogKey()
public void setUnMatchLogKey(String UnMatchLogKey)
UnMatchLogKey
- Key of the log that failed to be parsed
Note: This field may return null, indicating that no valid values can be obtained.public Long getUnMatchLogTimeSrc()
public void setUnMatchLogTimeSrc(Long UnMatchLogTimeSrc)
UnMatchLogTimeSrc
- Time source of the log that failed to be parsed. Valid values: 0 (current system time) and 1 (Kafka message timestamp).
Note: This field may return null, indicating that no valid values can be obtained.public Long getDefaultTimeSrc()
public void setDefaultTimeSrc(Long DefaultTimeSrc)
DefaultTimeSrc
- Default time source. Valid values: 0 (current system time) and 1 (Kafka message timestamp).
Note: This field may return null, indicating that no valid values can be obtained.public String getTimeKey()
public void setTimeKey(String TimeKey)
TimeKey
- Time field
Note: This field may return null, indicating that no valid values can be obtained.public String getTimeRegex()
public void setTimeRegex(String TimeRegex)
TimeRegex
- Time regular expression
Note: This field may return null, indicating that no valid values can be obtained.public String getTimeFormat()
public void setTimeFormat(String TimeFormat)
TimeFormat
- Time field format
Note: This field may return null, indicating that no valid values can be obtained.public String getTimeZone()
public void setTimeZone(String TimeZone)
TimeZone
- Time zone
Note: This field may return null, indicating that no valid values can be obtained.public String[] getMetadata()
public void setMetadata(String[] Metadata)
Metadata
- Metadata information. Kafka supports import of kafka_topic, kafka_partition, kafka_offset, and kafka_timestamp.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getKeys()
public void setKeys(String[] Keys)
Keys
- List of log keys, which is required when `RechargeType` is set to `full_regex_log`
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.