public class SendMsgRequest extends AbstractModel
| Constructor and Description | 
|---|
| SendMsgRequest() | 
| SendMsgRequest(SendMsgRequest 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 | getClusterId()Get Pulsar cluster ID | 
| String | getEnvironmentId()Get Environment (namespace) name. | 
| String | getMsgContent()Get Message content, which cannot be empty and can contain up to 5,242,880 bytes. | 
| String | getTopicName()Get Topic name. | 
| void | setClusterId(String ClusterId)Set Pulsar cluster ID | 
| void | setEnvironmentId(String EnvironmentId)Set Environment (namespace) name. | 
| void | setMsgContent(String MsgContent)Set Message content, which cannot be empty and can contain up to 5,242,880 bytes. | 
| void | setTopicName(String TopicName)Set Topic name. | 
| 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 SendMsgRequest()
public SendMsgRequest(SendMsgRequest source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId - Environment (namespace) name.public String getTopicName()
public void setTopicName(String TopicName)
TopicName - Topic name. If the topic is a partitioned topic, you need to specify the partition; otherwise, messages will be sent to partition 0 by default, such as `my_topic-partition-0`.public String getMsgContent()
public void setMsgContent(String MsgContent)
MsgContent - Message content, which cannot be empty and can contain up to 5,242,880 bytes.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - Pulsar cluster IDCopyright © 2022. All rights reserved.