public class ModifyConsumerRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyConsumerRequest() | 
| ModifyConsumerRequest(ModifyConsumerRequest 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 | 
|---|---|
| Ckafka | getCkafka()Get CKafka的描述 | 
| Long | getCompression()Get 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] | 
| ConsumerContent | getContent()Get 如果需要投递元数据信息,元数据信息的描述 | 
| Boolean | getEffective()Get 投递任务是否生效,默认不生效 | 
| Boolean | getNeedContent()Get 是否投递日志的元数据信息,默认为 true。
当NeedContent为true时:字段Content有效。
当NeedContent为false时:字段Content无效。 | 
| String | getTopicId()Get 投递任务绑定的日志主题Id。
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。 | 
| void | setCkafka(Ckafka Ckafka)Set CKafka的描述 | 
| void | setCompression(Long Compression)Set 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] | 
| void | setContent(ConsumerContent Content)Set 如果需要投递元数据信息,元数据信息的描述 | 
| void | setEffective(Boolean Effective)Set 投递任务是否生效,默认不生效 | 
| void | setNeedContent(Boolean NeedContent)Set 是否投递日志的元数据信息,默认为 true。
当NeedContent为true时:字段Content有效。
当NeedContent为false时:字段Content无效。 | 
| void | setTopicId(String TopicId)Set 投递任务绑定的日志主题Id。
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。 | 
| 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 ModifyConsumerRequest()
public ModifyConsumerRequest(ModifyConsumerRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId - 投递任务绑定的日志主题Id。
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。public Boolean getEffective()
public void setEffective(Boolean Effective)
Effective - 投递任务是否生效,默认不生效public Boolean getNeedContent()
public void setNeedContent(Boolean NeedContent)
NeedContent - 是否投递日志的元数据信息,默认为 true。
当NeedContent为true时:字段Content有效。
当NeedContent为false时:字段Content无效。public ConsumerContent getContent()
public void setContent(ConsumerContent Content)
Content - 如果需要投递元数据信息,元数据信息的描述public Ckafka getCkafka()
public void setCkafka(Ckafka Ckafka)
Ckafka - CKafka的描述public Long getCompression()
public void setCompression(Long Compression)
Compression - 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]Copyright © 2025. All rights reserved.