public class AutoSnapshotPolicyInfo extends AbstractModel
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 |
getDayOfWeek()
Get The day of the week on which to regularly back up the 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 |
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 |
setDayOfWeek(String DayOfWeek)
Set The day of the week on which to regularly back up the 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 |
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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 day of the week on which to regularly back up the snapshotpublic 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 informationCopyright © 2022. All rights reserved.