public class AutoSnapshotPolicy extends AbstractModel
| Constructor and Description | 
|---|
| AutoSnapshotPolicy() | 
| AutoSnapshotPolicy(AutoSnapshotPolicy 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 | getAutoSnapshotPolicyId()Get Scheduled snapshot policy ID. | 
| String | getAutoSnapshotPolicyName()Get Scheduled snapshot policy name. | 
| String | getAutoSnapshotPolicyState()Get Scheduled snapshot policy state. | 
| String | getCreateTime()Get The time the scheduled snapshot policy was created. | 
| String[] | getDiskIdSet()Get The list of cloud disk IDs that the current scheduled snapshot policy is bound to. | 
| Boolean | getIsActivated()Get Whether scheduled snapshot policy is activated. | 
| Boolean | getIsPermanent()Get Whether the snapshot created by this scheduled snapshot policy is retained permanently. | 
| String | getNextTriggerTime()Get The time the scheduled snapshot will be triggered again. | 
| Policy[] | getPolicy()Get The policy for executing the scheduled snapshot. | 
| Long | getRetentionDays()Get Number of days the snapshot created by this scheduled snapshot policy is retained. | 
| void | setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)Set Scheduled snapshot policy ID. | 
| void | setAutoSnapshotPolicyName(String AutoSnapshotPolicyName)Set Scheduled snapshot policy name. | 
| void | setAutoSnapshotPolicyState(String AutoSnapshotPolicyState)Set Scheduled snapshot policy state. | 
| void | setCreateTime(String CreateTime)Set The time the scheduled snapshot policy was created. | 
| void | setDiskIdSet(String[] DiskIdSet)Set The list of cloud disk IDs that the current scheduled snapshot policy is bound to. | 
| void | setIsActivated(Boolean IsActivated)Set Whether scheduled snapshot policy is activated. | 
| void | setIsPermanent(Boolean IsPermanent)Set Whether the snapshot created by this scheduled snapshot policy is retained permanently. | 
| void | setNextTriggerTime(String NextTriggerTime)Set The time the scheduled snapshot will be triggered again. | 
| void | setPolicy(Policy[] Policy)Set The policy for executing the scheduled snapshot. | 
| void | setRetentionDays(Long RetentionDays)Set Number of days the snapshot created by this scheduled snapshot policy is retained. | 
| 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 AutoSnapshotPolicy()
public AutoSnapshotPolicy(AutoSnapshotPolicy source)
public String getAutoSnapshotPolicyId()
public void setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)
AutoSnapshotPolicyId - Scheduled snapshot policy ID.public String getAutoSnapshotPolicyName()
public void setAutoSnapshotPolicyName(String AutoSnapshotPolicyName)
AutoSnapshotPolicyName - Scheduled snapshot policy name.public String getAutoSnapshotPolicyState()
public void setAutoSnapshotPolicyState(String AutoSnapshotPolicyState)
AutoSnapshotPolicyState - Scheduled snapshot policy state. Value range:public Boolean getIsActivated()
public void setIsActivated(Boolean IsActivated)
IsActivated - Whether scheduled snapshot policy is activated.public Boolean getIsPermanent()
public void setIsPermanent(Boolean IsPermanent)
IsPermanent - Whether the snapshot created by this scheduled snapshot policy is retained permanently.public Long getRetentionDays()
public void setRetentionDays(Long RetentionDays)
RetentionDays - Number of days the snapshot created by this scheduled snapshot policy is retained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - The time the scheduled snapshot policy was created.public String getNextTriggerTime()
public void setNextTriggerTime(String NextTriggerTime)
NextTriggerTime - The time the scheduled snapshot will be triggered again.public Policy[] getPolicy()
public void setPolicy(Policy[] Policy)
Policy - The policy for executing the scheduled snapshot.public String[] getDiskIdSet()
public void setDiskIdSet(String[] DiskIdSet)
DiskIdSet - The list of cloud disk IDs that the current scheduled snapshot policy is bound to.Copyright © 2022. All rights reserved.