public class RetentionPolicy extends AbstractModel
header, skipSign
Constructor and Description |
---|
RetentionPolicy() |
RetentionPolicy(RetentionPolicy 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 |
getSizeInMB()
Get 消息保留大小
|
Long |
getTimeInMinutes()
Get 消息保留时长
|
void |
setSizeInMB(Long SizeInMB)
Set 消息保留大小
|
void |
setTimeInMinutes(Long TimeInMinutes)
Set 消息保留时长
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RetentionPolicy()
public RetentionPolicy(RetentionPolicy source)
public Long getTimeInMinutes()
public void setTimeInMinutes(Long TimeInMinutes)
TimeInMinutes
- 消息保留时长public Long getSizeInMB()
public void setSizeInMB(Long SizeInMB)
SizeInMB
- 消息保留大小Copyright © 2024. All rights reserved.