public class ModifyAutoSnapshotPolicyAttributeRequest extends AbstractModel
| Constructor and Description | 
|---|
| ModifyAutoSnapshotPolicyAttributeRequest() | 
| ModifyAutoSnapshotPolicyAttributeRequest(ModifyAutoSnapshotPolicyAttributeRequest 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 The name of the scheduled snapshot policy to be created. | 
| Boolean | getIsActivated()Get Whether or not the scheduled snapshot policy is activated. | 
| Boolean | getIsPermanent()Get Whether the snapshot created by this scheduled snapshot policy is retained permanently. | 
| Policy[] | getPolicy()Get The policy for executing the scheduled snapshot. | 
| Long | getRetentionDays()Get Number of days to retain the snapshots created according to this scheduled snapshot policy. | 
| void | setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)Set Scheduled snapshot policy ID. | 
| void | setAutoSnapshotPolicyName(String AutoSnapshotPolicyName)Set The name of the scheduled snapshot policy to be created. | 
| void | setIsActivated(Boolean IsActivated)Set Whether or not the scheduled snapshot policy is activated. | 
| void | setIsPermanent(Boolean IsPermanent)Set Whether the snapshot created by this scheduled snapshot policy is retained permanently. | 
| void | setPolicy(Policy[] Policy)Set The policy for executing the scheduled snapshot. | 
| void | setRetentionDays(Long RetentionDays)Set Number of days to retain the snapshots created according to this scheduled snapshot policy. | 
| 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 ModifyAutoSnapshotPolicyAttributeRequest()
public ModifyAutoSnapshotPolicyAttributeRequest(ModifyAutoSnapshotPolicyAttributeRequest source)
public String getAutoSnapshotPolicyId()
public void setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)
AutoSnapshotPolicyId - Scheduled snapshot policy ID.public Boolean getIsActivated()
public void setIsActivated(Boolean IsActivated)
IsActivated - Whether or not the scheduled snapshot policy is activated. FALSE: Not activated. TRUE: Activated. The default value is TRUE.public Boolean getIsPermanent()
public void setIsPermanent(Boolean IsPermanent)
IsPermanent - Whether the snapshot created by this scheduled snapshot policy is retained permanently. FALSE: Not retained permanently. TRUE: Retained permanently. The default value is FALSE.public String getAutoSnapshotPolicyName()
public void setAutoSnapshotPolicyName(String AutoSnapshotPolicyName)
AutoSnapshotPolicyName - The name of the scheduled snapshot policy to be created. If it is left empty, the default is 'Not named'. The maximum length cannot exceed 60 bytes.public Policy[] getPolicy()
public void setPolicy(Policy[] Policy)
Policy - The policy for executing the scheduled snapshot.public Long getRetentionDays()
public void setRetentionDays(Long RetentionDays)
RetentionDays - Number of days to retain the snapshots created according to this scheduled snapshot policy. If this parameter is specified, `IsPermanent` cannot be specified as `TRUE`; otherwise, they will conflict with each other.Copyright © 2022. All rights reserved.