public class CreateQueueRequest extends AbstractModel
Constructor and Description |
---|
CreateQueueRequest() |
CreateQueueRequest(CreateQueueRequest 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 Message retention period.
|
Long |
getPolicy()
Get Dead letter 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 Whether to enable the message rewinding feature for a queue.
|
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 Message retention period.
|
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 is unique under the same account in an individual region.
|
void |
setRewindSeconds(Long RewindSeconds)
Set Whether to enable the message rewinding feature for a queue.
|
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 CreateQueueRequest()
public CreateQueueRequest(CreateQueueRequest 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
- Whether to enable the message rewinding feature for a queue. Value range: 0–msgRetentionSeconds, where 0 means not to enable this feature, while `msgRetentionSeconds` indicates that the maximum rewindable period is the message retention period of the queue.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 set, the feature will not be enabledCopyright © 2023. All rights reserved.