public class ModifyConsumerRequest extends AbstractModel
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 information
|
Long |
getCompression()
Get Compression mode.
|
ConsumerContent |
getContent()
Get Metadata to ship if `NeedContent` is `true`
|
Boolean |
getEffective()
Get Whether the shipping task takes effect (default: no)
|
Boolean |
getNeedContent()
Get Whether to ship metadata.
|
String |
getTopicId()
Get Log topic ID bound to the task
|
void |
setCkafka(Ckafka Ckafka)
Set CKafka information
|
void |
setCompression(Long Compression)
Set Compression mode.
|
void |
setContent(ConsumerContent Content)
Set Metadata to ship if `NeedContent` is `true`
|
void |
setEffective(Boolean Effective)
Set Whether the shipping task takes effect (default: no)
|
void |
setNeedContent(Boolean NeedContent)
Set Whether to ship metadata.
|
void |
setTopicId(String TopicId)
Set Log topic ID bound to the task
|
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 ModifyConsumerRequest()
public ModifyConsumerRequest(ModifyConsumerRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- Log topic ID bound to the taskpublic Boolean getEffective()
public void setEffective(Boolean Effective)
Effective
- Whether the shipping task takes effect (default: no)public Boolean getNeedContent()
public void setNeedContent(Boolean NeedContent)
NeedContent
- Whether to ship metadata. Default value: `false`public ConsumerContent getContent()
public void setContent(ConsumerContent Content)
Content
- Metadata to ship if `NeedContent` is `true`public Ckafka getCkafka()
public void setCkafka(Ckafka Ckafka)
Ckafka
- CKafka informationpublic Long getCompression()
public void setCompression(Long Compression)
Compression
- Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).Copyright © 2023. All rights reserved.