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 Regular execution mode | 
| Boolean | getDisabled()Get Whether to enable the rule | 
| String | getNamespaceName()Get Namespace name | 
| String | getNextExecutionTime()Get The execution time of the next task based on the current time and `cronSetting`, which is for reference only | 
| Long | getRetentionId()Get Tag retention policy ID | 
| RetentionRule[] | getRetentionRuleList()Get List of rules | 
| void | setCronSetting(String CronSetting)Set Regular execution mode | 
| void | setDisabled(Boolean Disabled)Set Whether to enable the rule | 
| void | setNamespaceName(String NamespaceName)Set Namespace name | 
| void | setNextExecutionTime(String NextExecutionTime)Set The execution time of the next task based on the current time and `cronSetting`, which is for reference only | 
| void | setRetentionId(Long RetentionId)Set Tag retention policy ID | 
| void | setRetentionRuleList(RetentionRule[] RetentionRuleList)Set List of rules | 
| 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, toJsonStringpublic RetentionPolicy()
public RetentionPolicy(RetentionPolicy source)
public Long getRetentionId()
public void setRetentionId(Long RetentionId)
RetentionId - Tag retention policy IDpublic String getNamespaceName()
public void setNamespaceName(String NamespaceName)
NamespaceName - Namespace namepublic RetentionRule[] getRetentionRuleList()
public void setRetentionRuleList(RetentionRule[] RetentionRuleList)
RetentionRuleList - List of rulespublic String getCronSetting()
public void setCronSetting(String CronSetting)
CronSetting - Regular execution modepublic Boolean getDisabled()
public void setDisabled(Boolean Disabled)
Disabled - Whether to enable the rulepublic String getNextExecutionTime()
public void setNextExecutionTime(String NextExecutionTime)
NextExecutionTime - The execution time of the next task based on the current time and `cronSetting`, which is for reference onlyCopyright © 2022. All rights reserved.