public class Consumer extends AbstractModel
Constructor and Description |
---|
Consumer() |
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getClientVersion()
Get 消费者版本。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getConnectedSince()
Get 消费者开始连接的时间。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getConsumerAddr()
Get 消费者地址。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getConsumerName()
Get 消费者名称。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getPartition()
Get 消费者连接的主题分区号
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setClientVersion(String ClientVersion)
Set 消费者版本。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConnectedSince(String ConnectedSince)
Set 消费者开始连接的时间。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConsumerAddr(String ConsumerAddr)
Set 消费者地址。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConsumerName(String ConsumerName)
Set 消费者名称。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPartition(Long Partition)
Set 消费者连接的主题分区号
注意:此字段可能返回 null,表示取不到有效值。
|
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 Consumer()
public Consumer(Consumer source)
public String getConnectedSince()
public void setConnectedSince(String ConnectedSince)
ConnectedSince
- 消费者开始连接的时间。
注意:此字段可能返回 null,表示取不到有效值。public String getConsumerAddr()
public void setConsumerAddr(String ConsumerAddr)
ConsumerAddr
- 消费者地址。
注意:此字段可能返回 null,表示取不到有效值。public String getConsumerName()
public void setConsumerName(String ConsumerName)
ConsumerName
- 消费者名称。
注意:此字段可能返回 null,表示取不到有效值。public String getClientVersion()
public void setClientVersion(String ClientVersion)
ClientVersion
- 消费者版本。
注意:此字段可能返回 null,表示取不到有效值。public Long getPartition()
public void setPartition(Long Partition)
Partition
- 消费者连接的主题分区号
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.