Class DescribeKafkaConsumerResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.DescribeKafkaConsumerResponse
-
public class DescribeKafkaConsumerResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeKafkaConsumerResponse()DescribeKafkaConsumerResponse(DescribeKafkaConsumerResponse 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 LonggetCompression()Get 压缩方式[0:NONE;2:SNAPPY;3:LZ4]KafkaConsumerContentgetConsumerContent()Get kafka协议消费数据格式StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。BooleangetStatus()Get Kafka协议消费是否打开StringgetTopicID()Get KafkaConsumer 消费时使用的Topic参数voidsetCompression(Long Compression)Set 压缩方式[0:NONE;2:SNAPPY;3:LZ4]voidsetConsumerContent(KafkaConsumerContent ConsumerContent)Set kafka协议消费数据格式voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetStatus(Boolean Status)Set Kafka协议消费是否打开voidsetTopicID(String TopicID)Set KafkaConsumer 消费时使用的Topic参数voidtoMap(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
-
DescribeKafkaConsumerResponse
public DescribeKafkaConsumerResponse()
-
DescribeKafkaConsumerResponse
public DescribeKafkaConsumerResponse(DescribeKafkaConsumerResponse 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
-
getStatus
public Boolean getStatus()
Get Kafka协议消费是否打开- Returns:
- Status Kafka协议消费是否打开
-
setStatus
public void setStatus(Boolean Status)
Set Kafka协议消费是否打开- Parameters:
Status- Kafka协议消费是否打开
-
getTopicID
public String getTopicID()
Get KafkaConsumer 消费时使用的Topic参数- Returns:
- TopicID KafkaConsumer 消费时使用的Topic参数
-
setTopicID
public void setTopicID(String TopicID)
Set KafkaConsumer 消费时使用的Topic参数- Parameters:
TopicID- KafkaConsumer 消费时使用的Topic参数
-
getCompression
public Long getCompression()
Get 压缩方式[0:NONE;2:SNAPPY;3:LZ4]- Returns:
- Compression 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
-
setCompression
public void setCompression(Long Compression)
Set 压缩方式[0:NONE;2:SNAPPY;3:LZ4]- Parameters:
Compression- 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
-
getConsumerContent
public KafkaConsumerContent getConsumerContent()
Get kafka协议消费数据格式- Returns:
- ConsumerContent kafka协议消费数据格式
-
setConsumerContent
public void setConsumerContent(KafkaConsumerContent ConsumerContent)
Set kafka协议消费数据格式- Parameters:
ConsumerContent- kafka协议消费数据格式
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-