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 Consumer version. | 
| String | getConnectedSince()Get The time when the consumer started connecting. | 
| String | getConsumerAddr()Get Consumer address. | 
| String | getConsumerName()Get Consumer name. | 
| Long | getPartition()Get Serial number of the topic partition connected to the consumer. | 
| void | setClientVersion(String ClientVersion)Set Consumer version. | 
| void | setConnectedSince(String ConnectedSince)Set The time when the consumer started connecting. | 
| void | setConsumerAddr(String ConsumerAddr)Set Consumer address. | 
| void | setConsumerName(String ConsumerName)Set Consumer name. | 
| void | setPartition(Long Partition)Set Serial number of the topic partition connected to the consumer. | 
| 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, toJsonStringpublic Consumer()
public Consumer(Consumer source)
public String getConnectedSince()
public void setConnectedSince(String ConnectedSince)
ConnectedSince - The time when the consumer started connecting.
Note: this field may return null, indicating that no valid values can be obtained.public String getConsumerAddr()
public void setConsumerAddr(String ConsumerAddr)
ConsumerAddr - Consumer address.
Note: this field may return null, indicating that no valid values can be obtained.public String getConsumerName()
public void setConsumerName(String ConsumerName)
ConsumerName - Consumer name.
Note: this field may return null, indicating that no valid values can be obtained.public String getClientVersion()
public void setClientVersion(String ClientVersion)
ClientVersion - Consumer version.
Note: this field may return null, indicating that no valid values can be obtained.public Long getPartition()
public void setPartition(Long Partition)
Partition - Serial number of the topic partition connected to the consumer.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.