public class CreateTopicResponse extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateTopicResponse() | 
| CreateTopicResponse(CreateTopicResponse 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 | getEnvironmentId()Get 环境(命名空间)名称。 | 
| Long | getPartitions()Get 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1) | 
| String | getRemark()Get 备注,128字符以内。 | 
| String | getRequestId()Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| String | getTopicName()Get 主题名。 | 
| Long | getTopicType()Get 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列; | 
| void | setEnvironmentId(String EnvironmentId)Set 环境(命名空间)名称。 | 
| void | setPartitions(Long Partitions)Set 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1) | 
| void | setRemark(String Remark)Set 备注,128字符以内。 | 
| void | setRequestId(String RequestId)Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| void | setTopicName(String TopicName)Set 主题名。 | 
| void | setTopicType(Long TopicType)Set 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列; | 
| 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 CreateTopicResponse()
public CreateTopicResponse(CreateTopicResponse source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId - 环境(命名空间)名称。public String getTopicName()
public void setTopicName(String TopicName)
TopicName - 主题名。public Long getPartitions()
public void setPartitions(Long Partitions)
Partitions - 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)public String getRemark()
public void setRemark(String Remark)
Remark - 备注,128字符以内。public Long getTopicType()
public void setTopicType(Long TopicType)
TopicType - 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列;public String getRequestId()
public void setRequestId(String RequestId)
RequestId - 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.