public class KafkaRechargeInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| KafkaRechargeInfo() | 
| KafkaRechargeInfo(KafkaRechargeInfo 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 | getConsumerGroupName()Get Kafka consumer group name   
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getCreateTime()Get Creation time
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getId()Get ID of the Kafka data subscription configuration.Note: This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getIsEncryptionAddr()Get Whether the service address uses an encrypted connection    
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getKafkaInstance()Get CKafka instance ID, which is required when `KafkaType` is set to `0`
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getKafkaType()Get Kafka type. | 
| LogRechargeRuleInfo | getLogRechargeRule()Get Log import rule
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getName()Get Kafka data import task name
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getOffset()Get Import data position, -2: earliest (default), -1: latestNote: This field may return null, indicating that no valid values can be obtained. | 
| KafkaProtocolInfo | getProtocol()Get Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true` | 
| String | getServerAddr()Get Service address
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getStatus()Get Status, 1: running; 2: paused.Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getTopicId()Get Log topic ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getUpdateTime()Get Update time
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getUserKafkaTopics()Get List of Kafka topics to import data from. | 
| void | setConsumerGroupName(String ConsumerGroupName)Set Kafka consumer group name   
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCreateTime(String CreateTime)Set Creation time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setId(String Id)Set ID of the Kafka data subscription configuration.Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIsEncryptionAddr(Boolean IsEncryptionAddr)Set Whether the service address uses an encrypted connection    
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setKafkaInstance(String KafkaInstance)Set CKafka instance ID, which is required when `KafkaType` is set to `0`
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setKafkaType(Long KafkaType)Set Kafka type. | 
| void | setLogRechargeRule(LogRechargeRuleInfo LogRechargeRule)Set Log import rule
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setName(String Name)Set Kafka data import task name
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setOffset(Long Offset)Set Import data position, -2: earliest (default), -1: latestNote: This field may return null, indicating that no valid values can be obtained. | 
| void | setProtocol(KafkaProtocolInfo Protocol)Set Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true` | 
| void | setServerAddr(String ServerAddr)Set Service address
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setStatus(Long Status)Set Status, 1: running; 2: paused.Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setTopicId(String TopicId)Set Log topic ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setUpdateTime(String UpdateTime)Set Update time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setUserKafkaTopics(String UserKafkaTopics)Set List of Kafka topics to import data from. | 
| 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 KafkaRechargeInfo()
public KafkaRechargeInfo(KafkaRechargeInfo source)
public String getId()
public void setId(String Id)
Id - ID of the Kafka data subscription configuration.Note: This field may return null, indicating that no valid values can be obtained.public String getTopicId()
public void setTopicId(String TopicId)
TopicId - Log topic ID
Note: This field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name - Kafka data import task name
Note: This field may return null, indicating that no valid values can be obtained.public Long getKafkaType()
public void setKafkaType(Long KafkaType)
KafkaType - Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka).
Note: This field may return null, indicating that no valid values can be obtained.public String getKafkaInstance()
public void setKafkaInstance(String KafkaInstance)
KafkaInstance - CKafka instance ID, which is required when `KafkaType` is set to `0`
Note: This field may return null, indicating that no valid values can be obtained.public String getServerAddr()
public void setServerAddr(String ServerAddr)
ServerAddr - Service address
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsEncryptionAddr()
public void setIsEncryptionAddr(Boolean IsEncryptionAddr)
IsEncryptionAddr - Whether the service address uses an encrypted connection        
Note: This field may return null, indicating that no valid values can be obtained.public KafkaProtocolInfo getProtocol()
public void setProtocol(KafkaProtocolInfo Protocol)
Protocol - Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true`public String getUserKafkaTopics()
public void setUserKafkaTopics(String UserKafkaTopics)
UserKafkaTopics - List of Kafka topics to import data from. Separate multiple topics with commas (,).
Note: This field may return null, indicating that no valid values can be obtained.public String getConsumerGroupName()
public void setConsumerGroupName(String ConsumerGroupName)
ConsumerGroupName - Kafka consumer group name       
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status - Status, 1: running; 2: paused.Note: This field may return null, indicating that no valid values can be obtained.public Long getOffset()
public void setOffset(Long Offset)
Offset - Import data position, -2: earliest (default), -1: latestNote: 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 LogRechargeRuleInfo getLogRechargeRule()
public void setLogRechargeRule(LogRechargeRuleInfo LogRechargeRule)
LogRechargeRule - Log import rule
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.