Class DynamicRetentionTime
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.DynamicRetentionTime
-
public class DynamicRetentionTime extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBottomRetention()Get 保底时长,单位分钟 注意:此字段可能返回 null,表示取不到有效值。LonggetDiskQuotaPercentage()Get 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件 注意:此字段可能返回 null,表示取不到有效值。LonggetEnable()Get 动态消息保留时间配置开关(0: 关闭,1: 开启) 注意:此字段可能返回 null,表示取不到有效值。LonggetStepForwardPercentage()Get 每次向前调整消息保留时间百分比 注意:此字段可能返回 null,表示取不到有效值。voidsetBottomRetention(Long BottomRetention)Set 保底时长,单位分钟 注意:此字段可能返回 null,表示取不到有效值。voidsetDiskQuotaPercentage(Long DiskQuotaPercentage)Set 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件 注意:此字段可能返回 null,表示取不到有效值。voidsetEnable(Long Enable)Set 动态消息保留时间配置开关(0: 关闭,1: 开启) 注意:此字段可能返回 null,表示取不到有效值。voidsetStepForwardPercentage(Long StepForwardPercentage)Set 每次向前调整消息保留时间百分比 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DynamicRetentionTime
public DynamicRetentionTime()
-
DynamicRetentionTime
public 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.
-
-
Method Detail
-
getEnable
public Long getEnable()
Get 动态消息保留时间配置开关(0: 关闭,1: 开启) 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Enable 动态消息保留时间配置开关(0: 关闭,1: 开启) 注意:此字段可能返回 null,表示取不到有效值。
-
setEnable
public void setEnable(Long Enable)
Set 动态消息保留时间配置开关(0: 关闭,1: 开启) 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Enable- 动态消息保留时间配置开关(0: 关闭,1: 开启) 注意:此字段可能返回 null,表示取不到有效值。
-
getDiskQuotaPercentage
public Long getDiskQuotaPercentage()
Get 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DiskQuotaPercentage 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件 注意:此字段可能返回 null,表示取不到有效值。
-
setDiskQuotaPercentage
public void setDiskQuotaPercentage(Long DiskQuotaPercentage)
Set 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DiskQuotaPercentage- 磁盘配额百分比触发条件,即消息达到此值触发消息保留时间变更事件 注意:此字段可能返回 null,表示取不到有效值。
-
getStepForwardPercentage
public Long getStepForwardPercentage()
Get 每次向前调整消息保留时间百分比 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- StepForwardPercentage 每次向前调整消息保留时间百分比 注意:此字段可能返回 null,表示取不到有效值。
-
setStepForwardPercentage
public void setStepForwardPercentage(Long StepForwardPercentage)
Set 每次向前调整消息保留时间百分比 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
StepForwardPercentage- 每次向前调整消息保留时间百分比 注意:此字段可能返回 null,表示取不到有效值。
-
getBottomRetention
public Long getBottomRetention()
Get 保底时长,单位分钟 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BottomRetention 保底时长,单位分钟 注意:此字段可能返回 null,表示取不到有效值。
-
setBottomRetention
public void setBottomRetention(Long BottomRetention)
Set 保底时长,单位分钟 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BottomRetention- 保底时长,单位分钟 注意:此字段可能返回 null,表示取不到有效值。
-
-