public class ModifyQueueAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyQueueAttributeRequest() |
ModifyQueueAttributeRequest(ModifyQueueAttributeRequest 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 Maximum message length.
|
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 Message retention period.
|
Long |
getPolicy()
Get Dead letter queue policy
|
Long |
getPollingWaitSeconds()
Get Long polling wait time for message reception.
|
String |
getQueueName()
Get Queue name, which is unique under the same account in an individual region.
|
Long |
getRewindSeconds()
Get Maximum message rewindable period.
|
Boolean |
getTrace()
Get Whether to enable message trace.
|
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 Maximum message length.
|
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 Message retention period.
|
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 is unique under the same account in an individual region.
|
void |
setRewindSeconds(Long RewindSeconds)
Set Maximum message rewindable period.
|
void |
setTrace(Boolean Trace)
Set Whether to enable message trace.
|
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 ModifyQueueAttributeRequest()
public ModifyQueueAttributeRequest(ModifyQueueAttributeRequest source)
public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- Queue name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).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
- Message retention period. Value range: 60–1296000 seconds (i.e., 1 minute–15 days). Default value: 345600 (i.e., 4 days).public Long getRewindSeconds()
public void setRewindSeconds(Long RewindSeconds)
RewindSeconds
- Maximum message rewindable period. Value range: 0–msgRetentionSeconds (maximum message retention period of a queue). 0 means not to enable message rewinding.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.Copyright © 2023. All rights reserved.