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 information
|
Long |
getCompression()
Get Compression method during delivery.
|
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 deliver log Metadata information; the default is true.When NeedContent is true: Content field is valid.When NeedContent is false: Content field is invalid.
|
String |
getTopicId()
Get Log topic ID bound to the task
|
void |
setCkafka(Ckafka Ckafka)
Set CKafka information
|
void |
setCompression(Long Compression)
Set Compression method during delivery.
|
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 deliver log Metadata information; the default is true.When NeedContent is true: Content field is valid.When NeedContent is false: Content field is invalid.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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 deliver log Metadata information; the default is true.When NeedContent is true: Content field is valid.When NeedContent is false: Content field is invalid.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 method during delivery. Valid values: 0, 2, and 3. [0: NONE; 2: SNAPPY; 3: LZ4]Copyright © 2024. All rights reserved.