public class CreateTagRetentionRuleRequest extends AbstractModel
| Constructor and Description |
|---|
CreateTagRetentionRuleRequest() |
CreateTagRetentionRuleRequest(CreateTagRetentionRuleRequest 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 执行周期,当前只能选择: manual;daily;weekly;monthly
|
Boolean |
getDisabled()
Get 是否禁用规则,默认值为false
|
Long |
getNamespaceId()
Get 命名空间的Id
|
String |
getRegistryId()
Get 主实例iD
|
RetentionRule |
getRetentionRule()
Get 保留策略
|
void |
setCronSetting(String CronSetting)
Set 执行周期,当前只能选择: manual;daily;weekly;monthly
|
void |
setDisabled(Boolean Disabled)
Set 是否禁用规则,默认值为false
|
void |
setNamespaceId(Long NamespaceId)
Set 命名空间的Id
|
void |
setRegistryId(String RegistryId)
Set 主实例iD
|
void |
setRetentionRule(RetentionRule RetentionRule)
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, toJsonStringpublic CreateTagRetentionRuleRequest()
public CreateTagRetentionRuleRequest(CreateTagRetentionRuleRequest source)
public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId - 主实例iDpublic Long getNamespaceId()
public void setNamespaceId(Long NamespaceId)
NamespaceId - 命名空间的Idpublic RetentionRule getRetentionRule()
public void setRetentionRule(RetentionRule RetentionRule)
RetentionRule - 保留策略public String getCronSetting()
public void setCronSetting(String CronSetting)
CronSetting - 执行周期,当前只能选择: manual;daily;weekly;monthlypublic Boolean getDisabled()
public void setDisabled(Boolean Disabled)
Disabled - 是否禁用规则,默认值为falseCopyright © 2021. All rights reserved.