public class RetentionPolicy extends AbstractModel
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 |
---|---|
String |
getCronSetting()
Get 定期执行方式
|
Boolean |
getDisabled()
Get 是否启用规则
|
String |
getNamespaceName()
Get 命名空间的名称
|
String |
getNextExecutionTime()
Get 基于当前时间根据cronSetting后下一次任务要执行的时间,仅做参考使用
|
Long |
getRetentionId()
Get 版本保留策略Id
|
RetentionRule[] |
getRetentionRuleList()
Get 规则列表
|
void |
setCronSetting(String CronSetting)
Set 定期执行方式
|
void |
setDisabled(Boolean Disabled)
Set 是否启用规则
|
void |
setNamespaceName(String NamespaceName)
Set 命名空间的名称
|
void |
setNextExecutionTime(String NextExecutionTime)
Set 基于当前时间根据cronSetting后下一次任务要执行的时间,仅做参考使用
|
void |
setRetentionId(Long RetentionId)
Set 版本保留策略Id
|
void |
setRetentionRuleList(RetentionRule[] RetentionRuleList)
Set 规则列表
|
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 RetentionPolicy()
public RetentionPolicy(RetentionPolicy source)
public Long getRetentionId()
public void setRetentionId(Long RetentionId)
RetentionId
- 版本保留策略Idpublic String getNamespaceName()
public void setNamespaceName(String NamespaceName)
NamespaceName
- 命名空间的名称public RetentionRule[] getRetentionRuleList()
public void setRetentionRuleList(RetentionRule[] RetentionRuleList)
RetentionRuleList
- 规则列表public String getCronSetting()
public void setCronSetting(String CronSetting)
CronSetting
- 定期执行方式public Boolean getDisabled()
public void setDisabled(Boolean Disabled)
Disabled
- 是否启用规则public String getNextExecutionTime()
public void setNextExecutionTime(String NextExecutionTime)
NextExecutionTime
- 基于当前时间根据cronSetting后下一次任务要执行的时间,仅做参考使用Copyright © 2021. All rights reserved.