public class SetMessageCallbackRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
appId
The ID of the application.
|
String |
authKey
The cryptographic key.
|
String |
authSwitch
Specifies whether to enable callback authentication.
|
String |
callbackType
The callback method.
|
String |
callbackURL
The callback URL.
|
String |
eventTypeList
The type of the callback event.
|
String |
mnsEndpoint
The public endpoint of Message Service (MNS).
|
String |
mnsQueueName
The name of the MNS queue.
|
String |
ownerAccount |
| 构造器和说明 |
|---|
SetMessageCallbackRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SetMessageCallbackRequest |
build(Map<String,?> map) |
String |
getAppId() |
String |
getAuthKey() |
String |
getAuthSwitch() |
String |
getCallbackType() |
String |
getCallbackURL() |
String |
getEventTypeList() |
String |
getMnsEndpoint() |
String |
getMnsQueueName() |
String |
getOwnerAccount() |
SetMessageCallbackRequest |
setAppId(String appId) |
SetMessageCallbackRequest |
setAuthKey(String authKey) |
SetMessageCallbackRequest |
setAuthSwitch(String authSwitch) |
SetMessageCallbackRequest |
setCallbackType(String callbackType) |
SetMessageCallbackRequest |
setCallbackURL(String callbackURL) |
SetMessageCallbackRequest |
setEventTypeList(String eventTypeList) |
SetMessageCallbackRequest |
setMnsEndpoint(String mnsEndpoint) |
SetMessageCallbackRequest |
setMnsQueueName(String mnsQueueName) |
SetMessageCallbackRequest |
setOwnerAccount(String ownerAccount) |
@NameInMap(value="AppId") public String appId
The ID of the application. If you do not set this parameter, the default value **app-1000000** is used.
@NameInMap(value="AuthKey") public String authKey
The cryptographic key. This parameter only takes effect when the CallbackType parameter is set to HTTP. The key can be up to 32 characters in length and must contain uppercase letters, lowercase letters, and digits.
@NameInMap(value="AuthSwitch") public String authSwitch
Specifies whether to enable callback authentication. This parameter only takes effect when the CallbackType parameter is set to HTTP. Valid values:
* **on**: enables authentication.
* **off**: disables authentication.
@NameInMap(value="CallbackType") public String callbackType
The callback method. Valid values:
* **HTTP**
* **MNS**
@NameInMap(value="CallbackURL") public String callbackURL
The callback URL. This parameter only takes effect when the CallbackType parameter is set to HTTP.
@NameInMap(value="EventTypeList") public String eventTypeList
The type of the callback event. If you do not set this parameter, notifications for all types of events are disabled. If you set this parameter to ALL, notifications for all types of events are enabled. You can specify the event types for which notifications are enabled. Separate multiple event types with commas (,). For more information about the valid values of this parameter, see [Event type](~~55627~~).
@NameInMap(value="MnsEndpoint") public String mnsEndpoint
The public endpoint of Message Service (MNS). This parameter only takes effect when the CallbackType parameter is set to MNS. For more information, see [Endpoint](~~27480#concept-2028913~~ "An endpoint is the address that you specify for a subscription to receive messages. When messages are published to a topic, Message Service (MNS) pushes the messages to the specified endpoints. You can specify the same endpoint for multiple subscriptions.").
@NameInMap(value="MnsQueueName") public String mnsQueueName
The name of the MNS queue. This parameter only takes effect when the CallbackType parameter is set to MNS.
@NameInMap(value="OwnerAccount") public String ownerAccount
public static SetMessageCallbackRequest build(Map<String,?> map) throws Exception
Exceptionpublic SetMessageCallbackRequest setAppId(String appId)
public String getAppId()
public SetMessageCallbackRequest setAuthKey(String authKey)
public String getAuthKey()
public SetMessageCallbackRequest setAuthSwitch(String authSwitch)
public String getAuthSwitch()
public SetMessageCallbackRequest setCallbackType(String callbackType)
public String getCallbackType()
public SetMessageCallbackRequest setCallbackURL(String callbackURL)
public String getCallbackURL()
public SetMessageCallbackRequest setEventTypeList(String eventTypeList)
public String getEventTypeList()
public SetMessageCallbackRequest setMnsEndpoint(String mnsEndpoint)
public String getMnsEndpoint()
public SetMessageCallbackRequest setMnsQueueName(String mnsQueueName)
public String getMnsQueueName()
public SetMessageCallbackRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
Copyright © 2024. All rights reserved.