public class DynamicRetentionTime extends AbstractModel
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 Minimum retention time, in minutes
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
Long |
getDiskQuotaPercentage()
Get Disk quota threshold (in percentage) for triggering the message retention time change event
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
Long |
getEnable()
Get Whether the dynamic message retention time configuration is enabled.
|
Long |
getStepForwardPercentage()
Get Percentage by which the message retention time is shortened each time
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
void |
setBottomRetention(Long BottomRetention)
Set Minimum retention time, in minutes
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
void |
setDiskQuotaPercentage(Long DiskQuotaPercentage)
Set Disk quota threshold (in percentage) for triggering the message retention time change event
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
void |
setEnable(Long Enable)
Set Whether the dynamic message retention time configuration is enabled.
|
void |
setStepForwardPercentage(Long StepForwardPercentage)
Set Percentage by which the message retention time is shortened each time
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
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 DynamicRetentionTime()
public DynamicRetentionTime(DynamicRetentionTime source)
public Long getEnable()
public void setEnable(Long Enable)
Enable
- Whether the dynamic message retention time configuration is enabled. 0: disabled; 1: enabled
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public Long getDiskQuotaPercentage()
public void setDiskQuotaPercentage(Long DiskQuotaPercentage)
DiskQuotaPercentage
- Disk quota threshold (in percentage) for triggering the message retention time change event
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public Long getStepForwardPercentage()
public void setStepForwardPercentage(Long StepForwardPercentage)
StepForwardPercentage
- Percentage by which the message retention time is shortened each time
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public Long getBottomRetention()
public void setBottomRetention(Long BottomRetention)
BottomRetention
- Minimum retention time, in minutes
Note: `null` may be returned for this field, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.