public class CosRechargeInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CosRechargeInfo() | 
| CosRechargeInfo(CosRechargeInfo 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 | getBucket()Get COS bucket. | 
| String | getBucketRegion()Get Region where the COS bucket is located. | 
| String | getCompress()Get Valid values: "" (default), "gzip", "lzop", "snappy"
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getCreateTime()Get Creation time. | 
| Long | getEnable()Get Whether the configuration is enabled. | 
| ExtractRuleInfo | getExtractRuleInfo()Get See the description of the `ExtractRuleInfo` structure. | 
| String | getId()Get COS import configuration ID. | 
| String | getLogsetId()Get ID of the logset. | 
| String | getLogType()Get The type of log collected. | 
| String | getName()Get COS import task name. | 
| String | getPrefix()Get The prefix of the folder where COS files are located. | 
| Long | getProgress()Get Progress in percentage. | 
| Long | getStatus()Get Status. | 
| String | getTopicId()Get ID of the log topic. | 
| String | getUpdateTime()Get Update time. | 
| void | setBucket(String Bucket)Set COS bucket. | 
| void | setBucketRegion(String BucketRegion)Set Region where the COS bucket is located. | 
| void | setCompress(String Compress)Set Valid values: "" (default), "gzip", "lzop", "snappy"
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCreateTime(String CreateTime)Set Creation time. | 
| void | setEnable(Long Enable)Set Whether the configuration is enabled. | 
| void | setExtractRuleInfo(ExtractRuleInfo ExtractRuleInfo)Set See the description of the `ExtractRuleInfo` structure. | 
| void | setId(String Id)Set COS import configuration ID. | 
| void | setLogsetId(String LogsetId)Set ID of the logset. | 
| void | setLogType(String LogType)Set The type of log collected. | 
| void | setName(String Name)Set COS import task name. | 
| void | setPrefix(String Prefix)Set The prefix of the folder where COS files are located. | 
| void | setProgress(Long Progress)Set Progress in percentage. | 
| void | setStatus(Long Status)Set Status. | 
| void | setTopicId(String TopicId)Set ID of the log topic. | 
| void | setUpdateTime(String UpdateTime)Set Update time. | 
| 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, toJsonStringpublic CosRechargeInfo()
public CosRechargeInfo(CosRechargeInfo source)
public String getId()
public void setId(String Id)
Id - COS import configuration ID.
Note: This field may return null, indicating that no valid values can be obtained.public String getTopicId()
public void setTopicId(String TopicId)
TopicId - ID of the log topic.
Note: This field may return null, indicating that no valid values can be obtained.public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId - ID of the logset.
Note: This field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name - COS import task name.
Note: This field may return null, indicating that no valid values can be obtained.public String getBucket()
public void setBucket(String Bucket)
Bucket - COS bucket.
Note: This field may return null, indicating that no valid values can be obtained.public String getBucketRegion()
public void setBucketRegion(String BucketRegion)
BucketRegion - Region where the COS bucket is located.
Note: This field may return null, indicating that no valid values can be obtained.public String getPrefix()
public void setPrefix(String Prefix)
Prefix - The prefix of the folder where COS files are located.
Note: This field may return null, indicating that no valid values can be obtained.public String getLogType()
public void setLogType(String LogType)
LogType - The type of log collected. `json_log`: JSON logs; `delimiter_log`: separator logs; `minimalist_log`: full text in a single line
Default value: `minimalist_log`
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status - Status. `0`: Created, `1`: Running, `2`: Stopped, `3`: Completed, `4`: Run failed
Note: This field may return null, indicating that no valid values can be obtained.public Long getEnable()
public void setEnable(Long Enable)
Enable - Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled
Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation time.
Note: This field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Update time.
Note: This field may return null, indicating that no valid values can be obtained.public Long getProgress()
public void setProgress(Long Progress)
Progress - Progress in percentage.
Note: This field may return null, indicating that no valid values can be obtained.public String getCompress()
public void setCompress(String Compress)
Compress - Valid values: "" (default), "gzip", "lzop", "snappy"
Note: This field may return null, indicating that no valid values can be obtained.public ExtractRuleInfo getExtractRuleInfo()
public void setExtractRuleInfo(ExtractRuleInfo ExtractRuleInfo)
ExtractRuleInfo - See the description of the `ExtractRuleInfo` structure.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.