public class AutoSnapshotPolicyInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AutoSnapshotPolicyInfo() | 
| AutoSnapshotPolicyInfo(AutoSnapshotPolicyInfo 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 | 
|---|---|
| Long | getAliveDays()Get Retention period | 
| Long | getAppId()Get Account ID | 
| String | getAutoSnapshotPolicyId()Get Snapshot policy ID | 
| String | getCreationTime()Get Snapshot policy creation time | 
| String | getDayOfMonth()Get The specific day of the month on which to create a snapshot. | 
| String | getDayOfWeek()Get The specific day of the week on which to create a snapshot. | 
| Long | getFileSystemNums()Get Number of bound file systems | 
| FileSystemByPolicy[] | getFileSystems()Get File system information | 
| String | getHour()Get The hour of a day at which to regularly back up the snapshot | 
| Long | getIntervalDays()Get The snapshot interval (1 to 365 days). | 
| Long | getIsActivated()Get Whether to activate the scheduled snapshot feature | 
| String | getNextActiveTime()Get Next time to trigger snapshot | 
| String | getPolicyName()Get Snapshot policy name | 
| String | getRegionName()Get Region | 
| String | getStatus()Get Snapshot policy status | 
| void | setAliveDays(Long AliveDays)Set Retention period | 
| void | setAppId(Long AppId)Set Account ID | 
| void | setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)Set Snapshot policy ID | 
| void | setCreationTime(String CreationTime)Set Snapshot policy creation time | 
| void | setDayOfMonth(String DayOfMonth)Set The specific day of the month on which to create a snapshot. | 
| void | setDayOfWeek(String DayOfWeek)Set The specific day of the week on which to create a snapshot. | 
| void | setFileSystemNums(Long FileSystemNums)Set Number of bound file systems | 
| void | setFileSystems(FileSystemByPolicy[] FileSystems)Set File system information | 
| void | setHour(String Hour)Set The hour of a day at which to regularly back up the snapshot | 
| void | setIntervalDays(Long IntervalDays)Set The snapshot interval (1 to 365 days). | 
| void | setIsActivated(Long IsActivated)Set Whether to activate the scheduled snapshot feature | 
| void | setNextActiveTime(String NextActiveTime)Set Next time to trigger snapshot | 
| void | setPolicyName(String PolicyName)Set Snapshot policy name | 
| void | setRegionName(String RegionName)Set Region | 
| void | setStatus(String Status)Set Snapshot policy status | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AutoSnapshotPolicyInfo()
public AutoSnapshotPolicyInfo(AutoSnapshotPolicyInfo source)
public String getAutoSnapshotPolicyId()
public void setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)
AutoSnapshotPolicyId - Snapshot policy IDpublic String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Snapshot policy namepublic String getCreationTime()
public void setCreationTime(String CreationTime)
CreationTime - Snapshot policy creation timepublic Long getFileSystemNums()
public void setFileSystemNums(Long FileSystemNums)
FileSystemNums - Number of bound file systemspublic String getDayOfWeek()
public void setDayOfWeek(String DayOfWeek)
DayOfWeek - The specific day of the week on which to create a snapshot. This parameter is mutually exclusive with `DayOfMonth` and `IntervalDays`.public String getHour()
public void setHour(String Hour)
Hour - The hour of a day at which to regularly back up the snapshotpublic Long getIsActivated()
public void setIsActivated(Long IsActivated)
IsActivated - Whether to activate the scheduled snapshot featurepublic String getNextActiveTime()
public void setNextActiveTime(String NextActiveTime)
NextActiveTime - Next time to trigger snapshotpublic String getStatus()
public void setStatus(String Status)
Status - Snapshot policy statuspublic Long getAppId()
public void setAppId(Long AppId)
AppId - Account IDpublic Long getAliveDays()
public void setAliveDays(Long AliveDays)
AliveDays - Retention periodpublic String getRegionName()
public void setRegionName(String RegionName)
RegionName - Regionpublic FileSystemByPolicy[] getFileSystems()
public void setFileSystems(FileSystemByPolicy[] FileSystems)
FileSystems - File system informationpublic String getDayOfMonth()
public void setDayOfMonth(String DayOfMonth)
DayOfMonth - The specific day of the month on which to create a snapshot. This parameter is mutually exclusive with `DayOfWeek` and `IntervalDays`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getIntervalDays()
public void setIntervalDays(Long IntervalDays)
IntervalDays - The snapshot interval (1 to 365 days). This parameter is mutually exclusive with `DayOfWeek` and `DayOfMonth`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.