public class AcknowledgeMessageRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AcknowledgeMessageRequest() | 
| AcknowledgeMessageRequest(AcknowledgeMessageRequest 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 | getAckTopic()Get Topic name, which can be obtained from the returned value of `receiveMessage` and is better to be the full path of the topic, such as `tenant/namespace/topic`. | 
| String | getMessageId()Get Unique ID used to identify the message, which can be obtained from the returned value of `receiveMessage`. | 
| String | getSubName()Get Subscriber name, which can be obtained from the returned value of `receiveMessage`. | 
| void | setAckTopic(String AckTopic)Set Topic name, which can be obtained from the returned value of `receiveMessage` and is better to be the full path of the topic, such as `tenant/namespace/topic`. | 
| void | setMessageId(String MessageId)Set Unique ID used to identify the message, which can be obtained from the returned value of `receiveMessage`. | 
| void | setSubName(String SubName)Set Subscriber name, which can be obtained from the returned value of `receiveMessage`. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AcknowledgeMessageRequest()
public AcknowledgeMessageRequest(AcknowledgeMessageRequest source)
public String getMessageId()
public void setMessageId(String MessageId)
MessageId - Unique ID used to identify the message, which can be obtained from the returned value of `receiveMessage`.public String getAckTopic()
public void setAckTopic(String AckTopic)
AckTopic - Topic name, which can be obtained from the returned value of `receiveMessage` and is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.public String getSubName()
public void setSubName(String SubName)
SubName - Subscriber name, which can be obtained from the returned value of `receiveMessage`. Make sure that it is the same as the subscriber name identified in `receiveMessage`; otherwise, the received message cannot be correctly acknowledged.Copyright © 2024. All rights reserved.