public class CreateConsumerRequest extends AbstractModel
Constructor and Description |
---|
CreateConsumerRequest() |
CreateConsumerRequest(CreateConsumerRequest 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 |
getNeedContent()
Get 是否投递日志的元数据信息,默认为 true
|
String |
getTopicId()
Get 投递任务绑定的日志主题 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 |
setNeedContent(Boolean NeedContent)
Set 是否投递日志的元数据信息,默认为 true
|
void |
setTopicId(String TopicId)
Set 投递任务绑定的日志主题 ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateConsumerRequest()
public CreateConsumerRequest(CreateConsumerRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- 投递任务绑定的日志主题 IDpublic Boolean getNeedContent()
public void setNeedContent(Boolean NeedContent)
NeedContent
- 是否投递日志的元数据信息,默认为 truepublic 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 © 2022. All rights reserved.