public class SendCmqMsgRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
SendCmqMsgRequest() |
SendCmqMsgRequest(SendCmqMsgRequest 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 |
getDelaySeconds()
Get 延迟时间。单位为秒,默认值为0秒,最大不能超过队列配置的消息最长未确认时间。
|
String |
getMsgContent()
Get 消息内容
|
String |
getQueueName()
Get 队列名
|
void |
setDelaySeconds(Long DelaySeconds)
Set 延迟时间。单位为秒,默认值为0秒,最大不能超过队列配置的消息最长未确认时间。
|
void |
setMsgContent(String MsgContent)
Set 消息内容
|
void |
setQueueName(String QueueName)
Set 队列名
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SendCmqMsgRequest()
public SendCmqMsgRequest(SendCmqMsgRequest source)
public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- 队列名public String getMsgContent()
public void setMsgContent(String MsgContent)
MsgContent
- 消息内容public Long getDelaySeconds()
public void setDelaySeconds(Long DelaySeconds)
DelaySeconds
- 延迟时间。单位为秒,默认值为0秒,最大不能超过队列配置的消息最长未确认时间。Copyright © 2024. All rights reserved.