Class RocketMQGroup
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.RocketMQGroup
-
public class RocketMQGroup extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RocketMQGroup()RocketMQGroup(RocketMQGroup 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 BooleangetBroadcastEnabled()Get 是否开启广播消费StringgetClientProtocol()Get 客户端协议LonggetConsumerNum()Get 在线消费者数量StringgetConsumerType()Get 消费者类型,枚举值ACTIVELY, PASSIVELY 注意:此字段可能返回 null,表示取不到有效值。LonggetConsumptionMode()Get 0表示集群消费模式,1表示广播消费模式,-1表示未知LonggetCreateTime()Get 创建时间,以毫秒为单位StringgetGroupType()Get Group类型 注意:此字段可能返回 null,表示取不到有效值。StringgetName()Get 消费组名称BooleangetReadEnabled()Get 是否允许消费StringgetRemark()Get 说明信息 注意:此字段可能返回 null,表示取不到有效值。LonggetRetryMaxTimes()Get 重试次数 注意:此字段可能返回 null,表示取不到有效值。LonggetRetryPartitionNum()Get 重试队列分区数 注意:此字段可能返回 null,表示取不到有效值。LonggetTotalAccumulative()Get 总堆积数量LonggetTPS()Get 消费TPSLonggetUpdateTime()Get 修改时间,以毫秒为单位voidsetBroadcastEnabled(Boolean BroadcastEnabled)Set 是否开启广播消费voidsetClientProtocol(String ClientProtocol)Set 客户端协议voidsetConsumerNum(Long ConsumerNum)Set 在线消费者数量voidsetConsumerType(String ConsumerType)Set 消费者类型,枚举值ACTIVELY, PASSIVELY 注意:此字段可能返回 null,表示取不到有效值。voidsetConsumptionMode(Long ConsumptionMode)Set 0表示集群消费模式,1表示广播消费模式,-1表示未知voidsetCreateTime(Long CreateTime)Set 创建时间,以毫秒为单位voidsetGroupType(String GroupType)Set Group类型 注意:此字段可能返回 null,表示取不到有效值。voidsetName(String Name)Set 消费组名称voidsetReadEnabled(Boolean ReadEnabled)Set 是否允许消费voidsetRemark(String Remark)Set 说明信息 注意:此字段可能返回 null,表示取不到有效值。voidsetRetryMaxTimes(Long RetryMaxTimes)Set 重试次数 注意:此字段可能返回 null,表示取不到有效值。voidsetRetryPartitionNum(Long RetryPartitionNum)Set 重试队列分区数 注意:此字段可能返回 null,表示取不到有效值。voidsetTotalAccumulative(Long TotalAccumulative)Set 总堆积数量voidsetTPS(Long TPS)Set 消费TPSvoidsetUpdateTime(Long UpdateTime)Set 修改时间,以毫秒为单位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
-
RocketMQGroup
public RocketMQGroup()
-
RocketMQGroup
public RocketMQGroup(RocketMQGroup 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
-
getName
public String getName()
Get 消费组名称- Returns:
- Name 消费组名称
-
setName
public void setName(String Name)
Set 消费组名称- Parameters:
Name- 消费组名称
-
getConsumerNum
public Long getConsumerNum()
Get 在线消费者数量- Returns:
- ConsumerNum 在线消费者数量
-
setConsumerNum
public void setConsumerNum(Long ConsumerNum)
Set 在线消费者数量- Parameters:
ConsumerNum- 在线消费者数量
-
getTPS
public Long getTPS()
Get 消费TPS- Returns:
- TPS 消费TPS
-
setTPS
public void setTPS(Long TPS)
Set 消费TPS- Parameters:
TPS- 消费TPS
-
getTotalAccumulative
public Long getTotalAccumulative()
Get 总堆积数量- Returns:
- TotalAccumulative 总堆积数量
-
setTotalAccumulative
public void setTotalAccumulative(Long TotalAccumulative)
Set 总堆积数量- Parameters:
TotalAccumulative- 总堆积数量
-
getConsumptionMode
public Long getConsumptionMode()
Get 0表示集群消费模式,1表示广播消费模式,-1表示未知- Returns:
- ConsumptionMode 0表示集群消费模式,1表示广播消费模式,-1表示未知
-
setConsumptionMode
public void setConsumptionMode(Long ConsumptionMode)
Set 0表示集群消费模式,1表示广播消费模式,-1表示未知- Parameters:
ConsumptionMode- 0表示集群消费模式,1表示广播消费模式,-1表示未知
-
getReadEnabled
public Boolean getReadEnabled()
Get 是否允许消费- Returns:
- ReadEnabled 是否允许消费
-
setReadEnabled
public void setReadEnabled(Boolean ReadEnabled)
Set 是否允许消费- Parameters:
ReadEnabled- 是否允许消费
-
getRetryPartitionNum
public Long getRetryPartitionNum()
Get 重试队列分区数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RetryPartitionNum 重试队列分区数 注意:此字段可能返回 null,表示取不到有效值。
-
setRetryPartitionNum
public void setRetryPartitionNum(Long RetryPartitionNum)
Set 重试队列分区数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RetryPartitionNum- 重试队列分区数 注意:此字段可能返回 null,表示取不到有效值。
-
getCreateTime
public Long getCreateTime()
Get 创建时间,以毫秒为单位- Returns:
- CreateTime 创建时间,以毫秒为单位
-
setCreateTime
public void setCreateTime(Long CreateTime)
Set 创建时间,以毫秒为单位- Parameters:
CreateTime- 创建时间,以毫秒为单位
-
getUpdateTime
public Long getUpdateTime()
Get 修改时间,以毫秒为单位- Returns:
- UpdateTime 修改时间,以毫秒为单位
-
setUpdateTime
public void setUpdateTime(Long UpdateTime)
Set 修改时间,以毫秒为单位- Parameters:
UpdateTime- 修改时间,以毫秒为单位
-
getClientProtocol
public String getClientProtocol()
Get 客户端协议- Returns:
- ClientProtocol 客户端协议
-
setClientProtocol
public void setClientProtocol(String ClientProtocol)
Set 客户端协议- Parameters:
ClientProtocol- 客户端协议
-
getRemark
public String getRemark()
Get 说明信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Remark 说明信息 注意:此字段可能返回 null,表示取不到有效值。
-
setRemark
public void setRemark(String Remark)
Set 说明信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Remark- 说明信息 注意:此字段可能返回 null,表示取不到有效值。
-
getConsumerType
public String getConsumerType()
Get 消费者类型,枚举值ACTIVELY, PASSIVELY 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConsumerType 消费者类型,枚举值ACTIVELY, PASSIVELY 注意:此字段可能返回 null,表示取不到有效值。
-
setConsumerType
public void setConsumerType(String ConsumerType)
Set 消费者类型,枚举值ACTIVELY, PASSIVELY 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConsumerType- 消费者类型,枚举值ACTIVELY, PASSIVELY 注意:此字段可能返回 null,表示取不到有效值。
-
getBroadcastEnabled
public Boolean getBroadcastEnabled()
Get 是否开启广播消费- Returns:
- BroadcastEnabled 是否开启广播消费
-
setBroadcastEnabled
public void setBroadcastEnabled(Boolean BroadcastEnabled)
Set 是否开启广播消费- Parameters:
BroadcastEnabled- 是否开启广播消费
-
getGroupType
public String getGroupType()
Get Group类型 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- GroupType Group类型 注意:此字段可能返回 null,表示取不到有效值。
-
setGroupType
public void setGroupType(String GroupType)
Set Group类型 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
GroupType- Group类型 注意:此字段可能返回 null,表示取不到有效值。
-
getRetryMaxTimes
public Long getRetryMaxTimes()
Get 重试次数 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- RetryMaxTimes 重试次数 注意:此字段可能返回 null,表示取不到有效值。
-
setRetryMaxTimes
public void setRetryMaxTimes(Long RetryMaxTimes)
Set 重试次数 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
RetryMaxTimes- 重试次数 注意:此字段可能返回 null,表示取不到有效值。
-
-