public class ModifyCmqQueueAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyCmqQueueAttributeRequest() |
ModifyCmqQueueAttributeRequest(ModifyCmqQueueAttributeRequest 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 query time
|
Long |
getMaxMsgHeapNum()
Get Maximum number of heaped messages.
|
Long |
getMaxMsgSize()
Get Max message size, which defaults to 1,024 KB for the queue of TDMQ for CMQ and cannot be modified.
|
Long |
getMaxQueryCount()
Get Maximum number of queries
|
Long |
getMaxReceiveCount()
Get Maximum number of receipts
|
Long |
getMaxTimeToLive()
Get Maximum period in seconds before an unconsumed message expires, which is required if `MaxTimeToLivepolicy` is 1.
|
Long |
getMsgRetentionSeconds()
Get The max period during which a message is retained before it is automatically acknowledged.
|
Long |
getPolicy()
Get Dead letter queue 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.
|
Boolean |
getTrace()
Get Whether to enable message trace.
|
Long |
getTransaction()
Get Whether to enable transaction.
|
Long |
getVisibilityTimeout()
Get Message visibility timeout period.
|
void |
setDeadLetterQueueName(String DeadLetterQueueName)
Set Dead letter queue name
|
void |
setFirstQueryInterval(Long FirstQueryInterval)
Set First query time
|
void |
setMaxMsgHeapNum(Long MaxMsgHeapNum)
Set Maximum number of heaped messages.
|
void |
setMaxMsgSize(Long MaxMsgSize)
Set Max message size, which defaults to 1,024 KB for the queue of TDMQ for CMQ and cannot be modified.
|
void |
setMaxQueryCount(Long MaxQueryCount)
Set Maximum number of queries
|
void |
setMaxReceiveCount(Long MaxReceiveCount)
Set Maximum number of receipts
|
void |
setMaxTimeToLive(Long MaxTimeToLive)
Set Maximum period in seconds before an unconsumed message expires, which is required if `MaxTimeToLivepolicy` 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 queue 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 |
setTrace(Boolean Trace)
Set Whether to enable message trace.
|
void |
setTransaction(Long Transaction)
Set Whether to enable transaction.
|
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 ModifyCmqQueueAttributeRequest()
public ModifyCmqQueueAttributeRequest(ModifyCmqQueueAttributeRequest 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
- Max message size, which defaults to 1,024 KB for the queue of TDMQ for CMQ and cannot be modified.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 getFirstQueryInterval()
public void setFirstQueryInterval(Long FirstQueryInterval)
FirstQueryInterval
- First query timepublic Long getMaxQueryCount()
public void setMaxQueryCount(Long MaxQueryCount)
MaxQueryCount
- Maximum number of queriespublic String getDeadLetterQueueName()
public void setDeadLetterQueueName(String DeadLetterQueueName)
DeadLetterQueueName
- Dead letter queue namepublic Long getMaxTimeToLive()
public void setMaxTimeToLive(Long MaxTimeToLive)
MaxTimeToLive
- Maximum period in seconds before an unconsumed message expires, which is required if `MaxTimeToLivepolicy` is 1. Value range: 300–43200. This value should be smaller than `MsgRetentionSeconds` (maximum message retention period)public Long getMaxReceiveCount()
public void setMaxReceiveCount(Long MaxReceiveCount)
MaxReceiveCount
- Maximum number of receiptspublic Long getPolicy()
public void setPolicy(Long Policy)
Policy
- Dead letter queue policypublic Boolean getTrace()
public void setTrace(Boolean Trace)
Trace
- Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.public Long getTransaction()
public void setTransaction(Long Transaction)
Transaction
- Whether to enable transaction. 1: yes; 0: nopublic 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.