public class CreateTopicResponse extends AbstractModel
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:非分区topic,无分区;非0:具体分区topic的分区数。
|
String |
getRemark()
Get 备注,128字符以内。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
String |
getTopicName()
Get 主题名。
|
Long |
getTopicType()
Get 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列;
5 :事务消息。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)名称。
|
void |
setPartitions(Long Partitions)
Set 0:非分区topic,无分区;非0:具体分区topic的分区数。
|
void |
setRemark(String Remark)
Set 备注,128字符以内。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
void |
setTopicName(String TopicName)
Set 主题名。
|
void |
setTopicType(Long TopicType)
Set 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列;
5 :事务消息。
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public 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:非分区topic,无分区;非0:具体分区topic的分区数。public String getRemark()
public void setRemark(String Remark)
Remark
- 备注,128字符以内。
注意:此字段可能返回 null,表示取不到有效值。public Long getTopicType()
public void setTopicType(Long TopicType)
TopicType
- 0: 普通消息;
1 :全局顺序消息;
2 :局部顺序消息;
3 :重试队列;
4 :死信队列;
5 :事务消息。
注意:此字段可能返回 null,表示取不到有效值。public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2022. All rights reserved.