public class Subscription extends AbstractModel
| Constructor and Description | 
|---|
| Subscription() | 
| Subscription(Subscription 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 | getConnectedSince()Get The time when the consumer started connecting. | 
| String | getConsumerAddr()Get Consumer address. | 
| String | getConsumerCount()Get Number of consumers. | 
| String | getConsumerName()Get Consumer name. | 
| Consumer[] | getConsumerSets()Get Set of consumers. | 
| ConsumersSchedule[] | getConsumersScheduleSets()Get Set of consumption progress information. | 
| String | getCreateTime()Get Creation time. | 
| String | getEnvironmentId()Get Environment (namespace) name. | 
| Boolean | getIsOnline()Get Whether it is online. | 
| String | getMsgBacklog()Get Number of retained messages. | 
| String | getMsgRateExpired()Get Proportion of messages under this subscription that were discarded but not sent after TTL. | 
| String | getMsgRateOut()Get Sum of the numbers of messages delivered by the consumer per second. | 
| String | getMsgThroughputOut()Get Number of bytes of messages consumed by the consumer per second. | 
| String | getRemark()Get Remarks. | 
| String | getSubscriptionName()Get Subscription name. | 
| String | getTopicName()Get Topic name. | 
| String | getUpdateTime()Get Modification time. | 
| void | setConnectedSince(String ConnectedSince)Set The time when the consumer started connecting. | 
| void | setConsumerAddr(String ConsumerAddr)Set Consumer address. | 
| void | setConsumerCount(String ConsumerCount)Set Number of consumers. | 
| void | setConsumerName(String ConsumerName)Set Consumer name. | 
| void | setConsumerSets(Consumer[] ConsumerSets)Set Set of consumers. | 
| void | setConsumersScheduleSets(ConsumersSchedule[] ConsumersScheduleSets)Set Set of consumption progress information. | 
| void | setCreateTime(String CreateTime)Set Creation time. | 
| void | setEnvironmentId(String EnvironmentId)Set Environment (namespace) name. | 
| void | setIsOnline(Boolean IsOnline)Set Whether it is online. | 
| void | setMsgBacklog(String MsgBacklog)Set Number of retained messages. | 
| void | setMsgRateExpired(String MsgRateExpired)Set Proportion of messages under this subscription that were discarded but not sent after TTL. | 
| void | setMsgRateOut(String MsgRateOut)Set Sum of the numbers of messages delivered by the consumer per second. | 
| void | setMsgThroughputOut(String MsgThroughputOut)Set Number of bytes of messages consumed by the consumer per second. | 
| void | setRemark(String Remark)Set Remarks. | 
| void | setSubscriptionName(String SubscriptionName)Set Subscription name. | 
| void | setTopicName(String TopicName)Set Topic name. | 
| void | setUpdateTime(String UpdateTime)Set Modification time. | 
| 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 Subscription()
public Subscription(Subscription source)
public String getTopicName()
public void setTopicName(String TopicName)
TopicName - Topic name.public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId - Environment (namespace) name.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 getConsumerCount()
public void setConsumerCount(String ConsumerCount)
ConsumerCount - Number of consumers.
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 getMsgBacklog()
public void setMsgBacklog(String MsgBacklog)
MsgBacklog - Number of retained messages.
Note: this field may return null, indicating that no valid values can be obtained.public String getMsgRateExpired()
public void setMsgRateExpired(String MsgRateExpired)
MsgRateExpired - Proportion of messages under this subscription that were discarded but not sent after TTL.
Note: this field may return null, indicating that no valid values can be obtained.public String getMsgRateOut()
public void setMsgRateOut(String MsgRateOut)
MsgRateOut - Sum of the numbers of messages delivered by the consumer per second.
Note: this field may return null, indicating that no valid values can be obtained.public String getMsgThroughputOut()
public void setMsgThroughputOut(String MsgThroughputOut)
MsgThroughputOut - Number of bytes of messages consumed by the consumer per second.
Note: this field may return null, indicating that no valid values can be obtained.public String getSubscriptionName()
public void setSubscriptionName(String SubscriptionName)
SubscriptionName - Subscription name.
Note: this field may return null, indicating that no valid values can be obtained.public Consumer[] getConsumerSets()
public void setConsumerSets(Consumer[] ConsumerSets)
ConsumerSets - Set of consumers.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getIsOnline()
public void setIsOnline(Boolean IsOnline)
IsOnline - Whether it is online.
Note: this field may return null, indicating that no valid values can be obtained.public ConsumersSchedule[] getConsumersScheduleSets()
public void setConsumersScheduleSets(ConsumersSchedule[] ConsumersScheduleSets)
ConsumersScheduleSets - Set of consumption progress information.
Note: this field may return null, indicating that no valid values can be obtained.public String getRemark()
public void setRemark(String Remark)
Remark - Remarks.
Note: this field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation time.
Note: this field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Modification time.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.