Class CreateConsumerRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.CreateConsumerRequest
-
public class CreateConsumerRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ckafka
getCkafka()
Get CKafka的描述Long
getCompression()
Get 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]ConsumerContent
getContent()
Get 如果需要投递元数据信息,元数据信息的描述Boolean
getNeedContent()
Get 是否投递日志的元数据信息,默认为 trueString
getTopicId()
Get 投递任务绑定的日志主题 IDvoid
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 是否投递日志的元数据信息,默认为 truevoid
setTopicId(String TopicId)
Set 投递任务绑定的日志主题 IDvoid
toMap(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
-
CreateConsumerRequest
public CreateConsumerRequest()
-
CreateConsumerRequest
public 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.
-
-
Method Detail
-
getTopicId
public String getTopicId()
Get 投递任务绑定的日志主题 ID- Returns:
- TopicId 投递任务绑定的日志主题 ID
-
setTopicId
public void setTopicId(String TopicId)
Set 投递任务绑定的日志主题 ID- Parameters:
TopicId
- 投递任务绑定的日志主题 ID
-
getNeedContent
public Boolean getNeedContent()
Get 是否投递日志的元数据信息,默认为 true- Returns:
- NeedContent 是否投递日志的元数据信息,默认为 true
-
setNeedContent
public void setNeedContent(Boolean NeedContent)
Set 是否投递日志的元数据信息,默认为 true- Parameters:
NeedContent
- 是否投递日志的元数据信息,默认为 true
-
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]
-
-