public class DynamicRetentionTime extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DynamicRetentionTime() | 
| DynamicRetentionTime(DynamicRetentionTime 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 | 
|---|---|
| Long | getBottomRetention()Get 保底时长,单位分钟
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getDiskQuotaPercentage()Get 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getEnable()Get 动态消息保留时间配置开关(0: 关闭,1: 开启)
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getStepForwardPercentage()Get 每次向前调整消息保留时间百分比
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setBottomRetention(Long BottomRetention)Set 保底时长,单位分钟
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDiskQuotaPercentage(Long DiskQuotaPercentage)Set 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setEnable(Long Enable)Set 动态消息保留时间配置开关(0: 关闭,1: 开启)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setStepForwardPercentage(Long StepForwardPercentage)Set 每次向前调整消息保留时间百分比
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DynamicRetentionTime()
public DynamicRetentionTime(DynamicRetentionTime source)
public Long getEnable()
public void setEnable(Long Enable)
Enable - 动态消息保留时间配置开关(0: 关闭,1: 开启)
注意:此字段可能返回 null,表示取不到有效值。public Long getDiskQuotaPercentage()
public void setDiskQuotaPercentage(Long DiskQuotaPercentage)
DiskQuotaPercentage - 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件
注意:此字段可能返回 null,表示取不到有效值。public Long getStepForwardPercentage()
public void setStepForwardPercentage(Long StepForwardPercentage)
StepForwardPercentage - 每次向前调整消息保留时间百分比
注意:此字段可能返回 null,表示取不到有效值。public Long getBottomRetention()
public void setBottomRetention(Long BottomRetention)
BottomRetention - 保底时长,单位分钟
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.