public class CreateTopicRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateTopicRequest() |
CreateTopicRequest(CreateTopicRequest 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 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
String |
getRemark()
Get 备注,最长 128 字符
|
String |
getTopic()
Get 主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。
|
void |
setInstanceId(String InstanceId)
Set 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
void |
setRemark(String Remark)
Set 备注,最长 128 字符
|
void |
setTopic(String Topic)
Set 主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。
|
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, toJsonString
public CreateTopicRequest()
public CreateTopicRequest(CreateTopicRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。public String getTopic()
public void setTopic(String Topic)
Topic
- 主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。public String getRemark()
public void setRemark(String Remark)
Remark
- 备注,最长 128 字符Copyright © 2025. All rights reserved.