public class CreateTopicRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
messageType
The type of messages in the topic that you want to create.
|
String |
remark
The description of the topic that you want to create.
|
| 构造器和说明 |
|---|
CreateTopicRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateTopicRequest |
build(Map<String,?> map) |
String |
getMessageType() |
String |
getRemark() |
CreateTopicRequest |
setMessageType(String messageType) |
CreateTopicRequest |
setRemark(String remark) |
@NameInMap(value="messageType") public String messageType
The type of messages in the topic that you want to create.
Valid values:
* TRANSACTION: transactional messages
* FIFO: ordered messages
* DELAY: scheduled messages or delayed Message
* NORMAL: normal messages
> The type of messages in the topic must be the same as the type of messages that you want to send. For example, if you create a topic whose message type is ordered messages, the topic can be used to send and receive only ordered messages.
@NameInMap(value="remark") public String remark
The description of the topic that you want to create.
public static CreateTopicRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateTopicRequest setMessageType(String messageType)
public String getMessageType()
public CreateTopicRequest setRemark(String remark)
public String getRemark()
Copyright © 2024. All rights reserved.