public class CreateKafkaRechargeRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateKafkaRechargeRequest()  | 
CreateKafkaRechargeRequest(CreateKafkaRechargeRequest 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 
 | 
Boolean | 
getIsEncryptionAddr()
Get Whether the service address uses an encrypted connection, which is required when `KafkaType` is set to `1` 
 | 
String | 
getKafkaInstance()
Get CKafka instance ID, which is required when `KafkaType` is set to `0` 
 | 
Long | 
getKafkaType()
Get Kafka type. 
 | 
LogRechargeRuleInfo | 
getLogRechargeRule()
Get Log Import Rules. 
 | 
String | 
getName()
Get Kafka data import configuration name 
 | 
Long | 
getOffset()
Get Position for data import. 
 | 
KafkaProtocolInfo | 
getProtocol()
Get Encrypted Access ProtocolWhen KafkaType is 1 and IsEncryptionAddr is true, Protocol is required 
 | 
String | 
getServerAddr()
Get Service address, which is required when `KafkaType` is set to `1` 
 | 
String | 
getTopicId()
Get Target topic ID 
 | 
String | 
getUserKafkaTopics()
Get List of Kafka topics to import data from. 
 | 
void | 
setConsumerGroupName(String ConsumerGroupName)
Set Kafka consumer group name 
 | 
void | 
setIsEncryptionAddr(Boolean IsEncryptionAddr)
Set Whether the service address uses an encrypted connection, which is required when `KafkaType` is set to `1` 
 | 
void | 
setKafkaInstance(String KafkaInstance)
Set CKafka instance ID, which is required when `KafkaType` is set to `0` 
 | 
void | 
setKafkaType(Long KafkaType)
Set Kafka type. 
 | 
void | 
setLogRechargeRule(LogRechargeRuleInfo LogRechargeRule)
Set Log Import Rules. 
 | 
void | 
setName(String Name)
Set Kafka data import configuration name 
 | 
void | 
setOffset(Long Offset)
Set Position for data import. 
 | 
void | 
setProtocol(KafkaProtocolInfo Protocol)
Set Encrypted Access ProtocolWhen KafkaType is 1 and IsEncryptionAddr is true, Protocol is required 
 | 
void | 
setServerAddr(String ServerAddr)
Set Service address, which is required when `KafkaType` is set to `1` 
 | 
void | 
setTopicId(String TopicId)
Set Target topic ID 
 | 
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 CreateKafkaRechargeRequest()
public CreateKafkaRechargeRequest(CreateKafkaRechargeRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId - Target topic IDpublic String getName()
public void setName(String Name)
Name - Kafka data import configuration namepublic Long getKafkaType()
public void setKafkaType(Long KafkaType)
KafkaType - Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka).public String getUserKafkaTopics()
public void setUserKafkaTopics(String UserKafkaTopics)
UserKafkaTopics - List of Kafka topics to import data from. Separate multiple topics with commas (,).public Long getOffset()
public void setOffset(Long Offset)
Offset - Position for data import. Valid values: -2 (earliest, default) and -1 (latest).public LogRechargeRuleInfo getLogRechargeRule()
public void setLogRechargeRule(LogRechargeRuleInfo LogRechargeRule)
LogRechargeRule - Log Import Rules.public String getKafkaInstance()
public void setKafkaInstance(String KafkaInstance)
KafkaInstance - CKafka instance ID, which is required when `KafkaType` is set to `0`public String getServerAddr()
public void setServerAddr(String ServerAddr)
ServerAddr - Service address, which is required when `KafkaType` is set to `1`public Boolean getIsEncryptionAddr()
public void setIsEncryptionAddr(Boolean IsEncryptionAddr)
IsEncryptionAddr - Whether the service address uses an encrypted connection, which is required when `KafkaType` is set to `1`public KafkaProtocolInfo getProtocol()
public void setProtocol(KafkaProtocolInfo Protocol)
Protocol - Encrypted Access ProtocolWhen KafkaType is 1 and IsEncryptionAddr is true, Protocol is requiredpublic String getConsumerGroupName()
public void setConsumerGroupName(String ConsumerGroupName)
ConsumerGroupName - Kafka consumer group nameCopyright © 2025. All rights reserved.