public class RansomDefenseStrategy extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RansomDefenseStrategy() |
RansomDefenseStrategy(RansomDefenseStrategy 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 |
getBackupType()
Get Backup pattern: 0 weekly, 1 daily.
|
String |
getCreateTime()
Get Creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDescription()
Get Policy Remarks
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getExcludeDir()
Get Includes directories, separated by semicolons (;).
|
String |
getHour()
Get Backup Execution Time Point (0-23): 11:00; 12:00
|
Long |
getId()
Get Policy ID
|
String |
getIncludeDir()
Get Includes directories, separated by semicolons (;).
|
Long |
getIsAll()
Get Whether it takes effect for all hosts.
|
Long |
getMachineCount()
Get Number of Bound Machines
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getModifyTime()
Get Last modification time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getName()
Get Policy name
|
Long |
getSaveDay()
Get Storage Days, 0 for Permanent
|
Long |
getStatus()
Get Enabling Status: 0 Disabled, 1 Enabled.
|
String |
getUin()
Get Operating UIN
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getWeekday()
Get Backup days in a week (1-7): 1; 2; 3; 4.
|
void |
setBackupType(Long BackupType)
Set Backup pattern: 0 weekly, 1 daily.
|
void |
setCreateTime(String CreateTime)
Set Creation time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDescription(String Description)
Set Policy Remarks
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setExcludeDir(String ExcludeDir)
Set Includes directories, separated by semicolons (;).
|
void |
setHour(String Hour)
Set Backup Execution Time Point (0-23): 11:00; 12:00
|
void |
setId(Long Id)
Set Policy ID
|
void |
setIncludeDir(String IncludeDir)
Set Includes directories, separated by semicolons (;).
|
void |
setIsAll(Long IsAll)
Set Whether it takes effect for all hosts.
|
void |
setMachineCount(Long MachineCount)
Set Number of Bound Machines
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setModifyTime(String ModifyTime)
Set Last modification time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Policy name
|
void |
setSaveDay(Long SaveDay)
Set Storage Days, 0 for Permanent
|
void |
setStatus(Long Status)
Set Enabling Status: 0 Disabled, 1 Enabled.
|
void |
setUin(String Uin)
Set Operating UIN
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setWeekday(String Weekday)
Set Backup days in a week (1-7): 1; 2; 3; 4.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RansomDefenseStrategy()
public RansomDefenseStrategy(RansomDefenseStrategy source)
public Long getId()
public void setId(Long Id)
Id - Policy IDpublic String getUin()
public void setUin(String Uin)
Uin - Operating UIN
Note: This field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name - Policy namepublic String getDescription()
public void setDescription(String Description)
Description - Policy Remarks
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status - Enabling Status: 0 Disabled, 1 Enabled.public Long getIsAll()
public void setIsAll(Long IsAll)
IsAll - Whether it takes effect for all hosts.public String getIncludeDir()
public void setIncludeDir(String IncludeDir)
IncludeDir - Includes directories, separated by semicolons (;).
Note: This field may return null, indicating that no valid values can be obtained.public String getExcludeDir()
public void setExcludeDir(String ExcludeDir)
ExcludeDir - Includes directories, separated by semicolons (;).
Note: This field may return null, indicating that no valid values can be obtained.public Long getBackupType()
public void setBackupType(Long BackupType)
BackupType - Backup pattern: 0 weekly, 1 daily.
Note: This field may return null, indicating that no valid values can be obtained.public String getWeekday()
public void setWeekday(String Weekday)
Weekday - Backup days in a week (1-7): 1; 2; 3; 4.
Note: This field may return null, indicating that no valid values can be obtained.public String getHour()
public void setHour(String Hour)
Hour - Backup Execution Time Point (0-23): 11:00; 12:00public Long getSaveDay()
public void setSaveDay(Long SaveDay)
SaveDay - Storage Days, 0 for Permanentpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation time
Note: This field may return null, indicating that no valid values can be obtained.public String getModifyTime()
public void setModifyTime(String ModifyTime)
ModifyTime - Last modification time
Note: This field may return null, indicating that no valid values can be obtained.public Long getMachineCount()
public void setMachineCount(Long MachineCount)
MachineCount - Number of Bound Machines
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.