Class ModifyConsumerRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.ModifyConsumerRequest
-
public class ModifyConsumerRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CkafkagetCkafka()Get CKafka的描述LonggetCompression()Get 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]ConsumerContentgetContent()Get 如果需要投递元数据信息,元数据信息的描述BooleangetEffective()Get 投递任务是否生效,默认不生效BooleangetNeedContent()Get 是否投递日志的元数据信息,默认为 falseStringgetTopicId()Get 投递任务绑定的日志主题 IDvoidsetCkafka(Ckafka Ckafka)Set CKafka的描述voidsetCompression(Long Compression)Set 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]voidsetContent(ConsumerContent Content)Set 如果需要投递元数据信息,元数据信息的描述voidsetEffective(Boolean Effective)Set 投递任务是否生效,默认不生效voidsetNeedContent(Boolean NeedContent)Set 是否投递日志的元数据信息,默认为 falsevoidsetTopicId(String TopicId)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
-
ModifyConsumerRequest
public ModifyConsumerRequest()
-
ModifyConsumerRequest
public 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.
-
-
Method Detail
-
getTopicId
public String getTopicId()
Get 投递任务绑定的日志主题 ID- Returns:
- TopicId 投递任务绑定的日志主题 ID
-
setTopicId
public void setTopicId(String TopicId)
Set 投递任务绑定的日志主题 ID- Parameters:
TopicId- 投递任务绑定的日志主题 ID
-
getEffective
public Boolean getEffective()
Get 投递任务是否生效,默认不生效- Returns:
- Effective 投递任务是否生效,默认不生效
-
setEffective
public void setEffective(Boolean Effective)
Set 投递任务是否生效,默认不生效- Parameters:
Effective- 投递任务是否生效,默认不生效
-
getNeedContent
public Boolean getNeedContent()
Get 是否投递日志的元数据信息,默认为 false- Returns:
- NeedContent 是否投递日志的元数据信息,默认为 false
-
setNeedContent
public void setNeedContent(Boolean NeedContent)
Set 是否投递日志的元数据信息,默认为 false- Parameters:
NeedContent- 是否投递日志的元数据信息,默认为 false
-
getContent
public ConsumerContent getContent()
Get 如果需要投递元数据信息,元数据信息的描述- Returns:
- Content 如果需要投递元数据信息,元数据信息的描述
-
setContent
public void setContent(ConsumerContent Content)
Set 如果需要投递元数据信息,元数据信息的描述- Parameters:
Content- 如果需要投递元数据信息,元数据信息的描述
-
getCkafka
public Ckafka getCkafka()
Get CKafka的描述- Returns:
- Ckafka CKafka的描述
-
setCkafka
public void setCkafka(Ckafka Ckafka)
Set CKafka的描述- Parameters:
Ckafka- CKafka的描述
-
getCompression
public Long getCompression()
Get 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]- Returns:
- Compression 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]
-
setCompression
public void setCompression(Long Compression)
Set 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]- Parameters:
Compression- 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]
-
-