Class ModifyKafkaConsumerRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.ModifyKafkaConsumerRequest
-
public class ModifyKafkaConsumerRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyKafkaConsumerRequest()ModifyKafkaConsumerRequest(ModifyKafkaConsumerRequest 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 LonggetCompression()Get 压缩方式[0:NONE;2:SNAPPY;3:LZ4]KafkaConsumerContentgetConsumerContent()Get kafka协议消费数据格式StringgetFromTopicId()Get 日志主题IDvoidsetCompression(Long Compression)Set 压缩方式[0:NONE;2:SNAPPY;3:LZ4]voidsetConsumerContent(KafkaConsumerContent ConsumerContent)Set kafka协议消费数据格式voidsetFromTopicId(String FromTopicId)Set 日志主题IDvoidtoMap(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
-
ModifyKafkaConsumerRequest
public ModifyKafkaConsumerRequest()
-
ModifyKafkaConsumerRequest
public ModifyKafkaConsumerRequest(ModifyKafkaConsumerRequest 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
-
getFromTopicId
public String getFromTopicId()
Get 日志主题ID- Returns:
- FromTopicId 日志主题ID
-
setFromTopicId
public void setFromTopicId(String FromTopicId)
Set 日志主题ID- Parameters:
FromTopicId- 日志主题ID
-
getCompression
public Long getCompression()
Get 压缩方式[0:NONE;2:SNAPPY;3:LZ4]- Returns:
- Compression 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
-
setCompression
public void setCompression(Long Compression)
Set 压缩方式[0:NONE;2:SNAPPY;3:LZ4]- Parameters:
Compression- 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
-
getConsumerContent
public KafkaConsumerContent getConsumerContent()
Get kafka协议消费数据格式- Returns:
- ConsumerContent kafka协议消费数据格式
-
setConsumerContent
public void setConsumerContent(KafkaConsumerContent ConsumerContent)
Set kafka协议消费数据格式- Parameters:
ConsumerContent- kafka协议消费数据格式
-
-