public class DeadLetterPolicy extends AbstractModel
Constructor and Description |
---|
DeadLetterPolicy() |
DeadLetterPolicy(DeadLetterPolicy 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 |
getDeadLetterQueue()
Get 死信队列。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getDeadLetterQueueName()
Get 死信队列名字。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMaxReceiveCount()
Get 最大接收次数。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMaxTimeToLive()
Get 最大未消费过期时间。Policy为1时必选。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getPolicy()
Get 死信队列策略。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDeadLetterQueue(String DeadLetterQueue)
Set 死信队列。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDeadLetterQueueName(String DeadLetterQueueName)
Set 死信队列名字。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxReceiveCount(Long MaxReceiveCount)
Set 最大接收次数。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxTimeToLive(Long MaxTimeToLive)
Set 最大未消费过期时间。Policy为1时必选。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPolicy(Long Policy)
Set 死信队列策略。
注意:此字段可能返回 null,表示取不到有效值。
|
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 DeadLetterPolicy()
public DeadLetterPolicy(DeadLetterPolicy source)
public String getDeadLetterQueueName()
public void setDeadLetterQueueName(String DeadLetterQueueName)
DeadLetterQueueName
- 死信队列名字。
注意:此字段可能返回 null,表示取不到有效值。public String getDeadLetterQueue()
public void setDeadLetterQueue(String DeadLetterQueue)
DeadLetterQueue
- 死信队列。
注意:此字段可能返回 null,表示取不到有效值。public Long getPolicy()
public void setPolicy(Long Policy)
Policy
- 死信队列策略。
注意:此字段可能返回 null,表示取不到有效值。public Long getMaxTimeToLive()
public void setMaxTimeToLive(Long MaxTimeToLive)
MaxTimeToLive
- 最大未消费过期时间。Policy为1时必选。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds。
注意:此字段可能返回 null,表示取不到有效值。public Long getMaxReceiveCount()
public void setMaxReceiveCount(Long MaxReceiveCount)
MaxReceiveCount
- 最大接收次数。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.