public class SendMessagesRequest extends AbstractModel
| Constructor and Description | 
|---|
| SendMessagesRequest() | 
| SendMessagesRequest(SendMessagesRequest 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 | 
|---|---|
| Long | getMaxPendingMessages()Get Maximum number of produced messages which can be cached in the memory. | 
| String | getPayload()Get Content of the message to be sent | 
| String | getProducerName()Get Producer name, which must be globally unique. | 
| Long | getSendTimeout()Get Message sending timeout period, which is 30s by default. | 
| String | getStringToken()Get Token used for authentication, which is optional and will be automatically obtained by the system. | 
| String | getTopic()Get Name of the topic to which to send the message. | 
| void | setMaxPendingMessages(Long MaxPendingMessages)Set Maximum number of produced messages which can be cached in the memory. | 
| void | setPayload(String Payload)Set Content of the message to be sent | 
| void | setProducerName(String ProducerName)Set Producer name, which must be globally unique. | 
| void | setSendTimeout(Long SendTimeout)Set Message sending timeout period, which is 30s by default. | 
| void | setStringToken(String StringToken)Set Token used for authentication, which is optional and will be automatically obtained by the system. | 
| void | setTopic(String Topic)Set Name of the topic to which to send the message. | 
| 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, toJsonStringpublic SendMessagesRequest()
public SendMessagesRequest(SendMessagesRequest source)
public String getTopic()
public void setTopic(String Topic)
Topic - Name of the topic to which to send the message. It 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 getPayload()
public void setPayload(String Payload)
Payload - Content of the message to be sentpublic String getStringToken()
public void setStringToken(String StringToken)
StringToken - Token used for authentication, which is optional and will be automatically obtained by the system.public String getProducerName()
public void setProducerName(String ProducerName)
ProducerName - Producer name, which must be globally unique. If it is not configured, the system will randomly generate one.public Long getSendTimeout()
public void setSendTimeout(Long SendTimeout)
SendTimeout - Message sending timeout period, which is 30s by default.public Long getMaxPendingMessages()
public void setMaxPendingMessages(Long MaxPendingMessages)
MaxPendingMessages - Maximum number of produced messages which can be cached in the memory. Default value: 1000Copyright © 2022. All rights reserved.