public class ModifyTopicRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyTopicRequest() | 
| ModifyTopicRequest(ModifyTopicRequest 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 | getInstanceId()Get 腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。 | 
| Long | getMsgTTL()Get 消息保留时长(单位:小时) | 
| Long | getQueueNum()Get 队列数量,取值范围3~16 | 
| String | getRemark()Get 备注信息,最多 128 个字符 | 
| String | getTopic()Get 主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。 | 
| void | setInstanceId(String InstanceId)Set 腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。 | 
| void | setMsgTTL(Long MsgTTL)Set 消息保留时长(单位:小时) | 
| void | setQueueNum(Long QueueNum)Set 队列数量,取值范围3~16 | 
| void | setRemark(String Remark)Set 备注信息,最多 128 个字符 | 
| void | setTopic(String Topic)Set 主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifyTopicRequest()
public ModifyTopicRequest(ModifyTopicRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。public String getTopic()
public void setTopic(String Topic)
Topic - 主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。public Long getQueueNum()
public void setQueueNum(Long QueueNum)
QueueNum - 队列数量,取值范围3~16public String getRemark()
public void setRemark(String Remark)
Remark - 备注信息,最多 128 个字符public Long getMsgTTL()
public void setMsgTTL(Long MsgTTL)
MsgTTL - 消息保留时长(单位:小时)Copyright © 2025. All rights reserved.