Class Consumer
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.Consumer
-
public class Consumer extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientVersion()Get 消费者版本。 注意:此字段可能返回 null,表示取不到有效值。StringgetConnectedSince()Get 消费者开始连接的时间。 注意:此字段可能返回 null,表示取不到有效值。StringgetConsumerAddr()Get 消费者地址。 注意:此字段可能返回 null,表示取不到有效值。StringgetConsumerName()Get 消费者名称。 注意:此字段可能返回 null,表示取不到有效值。LonggetPartition()Get 消费者连接的主题分区号 注意:此字段可能返回 null,表示取不到有效值。voidsetClientVersion(String ClientVersion)Set 消费者版本。 注意:此字段可能返回 null,表示取不到有效值。voidsetConnectedSince(String ConnectedSince)Set 消费者开始连接的时间。 注意:此字段可能返回 null,表示取不到有效值。voidsetConsumerAddr(String ConsumerAddr)Set 消费者地址。 注意:此字段可能返回 null,表示取不到有效值。voidsetConsumerName(String ConsumerName)Set 消费者名称。 注意:此字段可能返回 null,表示取不到有效值。voidsetPartition(Long Partition)Set 消费者连接的主题分区号 注意:此字段可能返回 null,表示取不到有效值。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
-
Consumer
public Consumer()
-
Consumer
public Consumer(Consumer 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
-
getConnectedSince
public String getConnectedSince()
Get 消费者开始连接的时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConnectedSince 消费者开始连接的时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setConnectedSince
public void setConnectedSince(String ConnectedSince)
Set 消费者开始连接的时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConnectedSince- 消费者开始连接的时间。 注意:此字段可能返回 null,表示取不到有效值。
-
getConsumerAddr
public String getConsumerAddr()
Get 消费者地址。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConsumerAddr 消费者地址。 注意:此字段可能返回 null,表示取不到有效值。
-
setConsumerAddr
public void setConsumerAddr(String ConsumerAddr)
Set 消费者地址。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConsumerAddr- 消费者地址。 注意:此字段可能返回 null,表示取不到有效值。
-
getConsumerName
public String getConsumerName()
Get 消费者名称。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConsumerName 消费者名称。 注意:此字段可能返回 null,表示取不到有效值。
-
setConsumerName
public void setConsumerName(String ConsumerName)
Set 消费者名称。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConsumerName- 消费者名称。 注意:此字段可能返回 null,表示取不到有效值。
-
getClientVersion
public String getClientVersion()
Get 消费者版本。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ClientVersion 消费者版本。 注意:此字段可能返回 null,表示取不到有效值。
-
setClientVersion
public void setClientVersion(String ClientVersion)
Set 消费者版本。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ClientVersion- 消费者版本。 注意:此字段可能返回 null,表示取不到有效值。
-
getPartition
public Long getPartition()
Get 消费者连接的主题分区号 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Partition 消费者连接的主题分区号 注意:此字段可能返回 null,表示取不到有效值。
-
setPartition
public void setPartition(Long Partition)
Set 消费者连接的主题分区号 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Partition- 消费者连接的主题分区号 注意:此字段可能返回 null,表示取不到有效值。
-
-