public class CreateCmqQueueRequest extends AbstractModel
Constructor and Description |
---|
CreateCmqQueueRequest() |
CreateCmqQueueRequest(CreateCmqQueueRequest 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 |
getDeadLetterQueueName()
Get Dead letter queue name
|
Long |
getFirstQueryInterval()
Get First lookback interval
|
Long |
getMaxMsgHeapNum()
Get Maximum number of heaped messages.
|
Long |
getMaxMsgSize()
Get Maximum message length.
|
Long |
getMaxQueryCount()
Get Maximum number of lookbacks
|
Long |
getMaxReceiveCount()
Get Maximum receipt times.
|
Long |
getMaxTimeToLive()
Get Maximum period in seconds before an unconsumed message expires, which is required if `policy` is 1.
|
Long |
getMsgRetentionSeconds()
Get The max period during which a message is retained before it is automatically acknowledged.
|
Long |
getPolicy()
Get Dead letter policy.
|
Long |
getPollingWaitSeconds()
Get Long polling wait time for message reception.
|
String |
getQueueName()
Get Queue name, which must be unique under the same account in the same region.
|
Long |
getRetentionSizeInMB()
Get Queue storage space configured for message rewind.
|
Long |
getRewindSeconds()
Get Rewindable time of messages in the queue.
|
Tag[] |
getTags()
Get Tag array.
|
Boolean |
getTrace()
Get Whether to enable message trace.
|
Long |
getTransaction()
Get 1: transaction queue; 0: general queue
|
Long |
getVisibilityTimeout()
Get Message visibility timeout period.
|
void |
setDeadLetterQueueName(String DeadLetterQueueName)
Set Dead letter queue name
|
void |
setFirstQueryInterval(Long FirstQueryInterval)
Set First lookback interval
|
void |
setMaxMsgHeapNum(Long MaxMsgHeapNum)
Set Maximum number of heaped messages.
|
void |
setMaxMsgSize(Long MaxMsgSize)
Set Maximum message length.
|
void |
setMaxQueryCount(Long MaxQueryCount)
Set Maximum number of lookbacks
|
void |
setMaxReceiveCount(Long MaxReceiveCount)
Set Maximum receipt times.
|
void |
setMaxTimeToLive(Long MaxTimeToLive)
Set Maximum period in seconds before an unconsumed message expires, which is required if `policy` is 1.
|
void |
setMsgRetentionSeconds(Long MsgRetentionSeconds)
Set The max period during which a message is retained before it is automatically acknowledged.
|
void |
setPolicy(Long Policy)
Set Dead letter policy.
|
void |
setPollingWaitSeconds(Long PollingWaitSeconds)
Set Long polling wait time for message reception.
|
void |
setQueueName(String QueueName)
Set Queue name, which must be unique under the same account in the same region.
|
void |
setRetentionSizeInMB(Long RetentionSizeInMB)
Set Queue storage space configured for message rewind.
|
void |
setRewindSeconds(Long RewindSeconds)
Set Rewindable time of messages in the queue.
|
void |
setTags(Tag[] Tags)
Set Tag array.
|
void |
setTrace(Boolean Trace)
Set Whether to enable message trace.
|
void |
setTransaction(Long Transaction)
Set 1: transaction queue; 0: general queue
|
void |
setVisibilityTimeout(Long VisibilityTimeout)
Set Message visibility timeout period.
|
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, toJsonString
public CreateCmqQueueRequest()
public CreateCmqQueueRequest(CreateCmqQueueRequest source)
public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.public Long getMaxMsgHeapNum()
public void setMaxMsgHeapNum(Long MaxMsgHeapNum)
MaxMsgHeapNum
- Maximum number of heaped messages. The value range is 1,000,000–10,000,000 during the beta test and can be 1,000,000–1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.public Long getPollingWaitSeconds()
public void setPollingWaitSeconds(Long PollingWaitSeconds)
PollingWaitSeconds
- Long polling wait time for message reception. Value range: 0–30 seconds. Default value: 0.public Long getVisibilityTimeout()
public void setVisibilityTimeout(Long VisibilityTimeout)
VisibilityTimeout
- Message visibility timeout period. Value range: 1–43200 seconds (i.e., 12 hours). Default value: 30.public Long getMaxMsgSize()
public void setMaxMsgSize(Long MaxMsgSize)
MaxMsgSize
- Maximum message length. Value range: 1024–65536 bytes (i.e., 1–64 KB). Default value: 65536.public Long getMsgRetentionSeconds()
public void setMsgRetentionSeconds(Long MsgRetentionSeconds)
MsgRetentionSeconds
- The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).public Long getRewindSeconds()
public void setRewindSeconds(Long RewindSeconds)
RewindSeconds
- Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.public Long getTransaction()
public void setTransaction(Long Transaction)
Transaction
- 1: transaction queue; 0: general queuepublic Long getFirstQueryInterval()
public void setFirstQueryInterval(Long FirstQueryInterval)
FirstQueryInterval
- First lookback intervalpublic Long getMaxQueryCount()
public void setMaxQueryCount(Long MaxQueryCount)
MaxQueryCount
- Maximum number of lookbackspublic String getDeadLetterQueueName()
public void setDeadLetterQueueName(String DeadLetterQueueName)
DeadLetterQueueName
- Dead letter queue namepublic Long getPolicy()
public void setPolicy(Long Policy)
Policy
- Dead letter policy. 0: message has been consumed multiple times but not deleted; 1: `Time-To-Live` has elapsedpublic Long getMaxReceiveCount()
public void setMaxReceiveCount(Long MaxReceiveCount)
MaxReceiveCount
- Maximum receipt times. Value range: 1–1000public Long getMaxTimeToLive()
public void setMaxTimeToLive(Long MaxTimeToLive)
MaxTimeToLive
- Maximum period in seconds before an unconsumed message expires, which is required if `policy` is 1. Value range: 300–43200. This value should be smaller than `msgRetentionSeconds` (maximum message retention period)public Boolean getTrace()
public void setTrace(Boolean Trace)
Trace
- Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabledpublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag array.public Long getRetentionSizeInMB()
public void setRetentionSizeInMB(Long RetentionSizeInMB)
RetentionSizeInMB
- Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.Copyright © 2023. All rights reserved.