public class CreateRansomDefenseStrategyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateRansomDefenseStrategyRequest() |
CreateRansomDefenseStrategyRequest(CreateRansomDefenseStrategyRequest 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 |
getDescription()
Get Policy Remarks
|
String |
getExcludeDir()
Get Exclude directories, separated by semicolons (;).
|
String |
getHour()
Get Scheduled snapshot execution time (0-23): 01:00; 23:00.
|
Long |
getId()
Get Policy ID: Modify the policy when filling in the ID.
|
String |
getIncludeDir()
Get Include directories, separated by semicolons (;).
|
Long |
getIsAll()
Get Apply to all machines or not.
|
RansomDefenseStrategyMachineInfo[] |
getMachines()
Get Bound Host List
|
String |
getName()
Get Policy name
|
Long |
getSaveDay()
Get Retention Period: 0 Permanent.
|
Long |
getStatus()
Get Whether to enable: 0 Off, 1 On.
|
String |
getWeekday()
Get Scheduled task execution days in a week (1-7): 1; 2; 7.
|
void |
setBackupType(Long BackupType)
Set Backup pattern: 0 weekly, 1 daily.
|
void |
setDescription(String Description)
Set Policy Remarks
|
void |
setExcludeDir(String ExcludeDir)
Set Exclude directories, separated by semicolons (;).
|
void |
setHour(String Hour)
Set Scheduled snapshot execution time (0-23): 01:00; 23:00.
|
void |
setId(Long Id)
Set Policy ID: Modify the policy when filling in the ID.
|
void |
setIncludeDir(String IncludeDir)
Set Include directories, separated by semicolons (;).
|
void |
setIsAll(Long IsAll)
Set Apply to all machines or not.
|
void |
setMachines(RansomDefenseStrategyMachineInfo[] Machines)
Set Bound Host List
|
void |
setName(String Name)
Set Policy name
|
void |
setSaveDay(Long SaveDay)
Set Retention Period: 0 Permanent.
|
void |
setStatus(Long Status)
Set Whether to enable: 0 Off, 1 On.
|
void |
setWeekday(String Weekday)
Set Scheduled task execution days in a week (1-7): 1; 2; 7.
|
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, toJsonString
public CreateRansomDefenseStrategyRequest()
public CreateRansomDefenseStrategyRequest(CreateRansomDefenseStrategyRequest source)
public String getName()
public void setName(String Name)
Name
- Policy namepublic String getHour()
public void setHour(String Hour)
Hour
- Scheduled snapshot execution time (0-23): 01:00; 23:00.public Long getId()
public void setId(Long Id)
Id
- Policy ID: Modify the policy when filling in the ID. Otherwise, add a new policy.public String getDescription()
public void setDescription(String Description)
Description
- Policy Remarkspublic Long getStatus()
public void setStatus(Long Status)
Status
- Whether to enable: 0 Off, 1 On.public Long getIsAll()
public void setIsAll(Long IsAll)
IsAll
- Apply to all machines or not. 0: No; 1: Yespublic String getIncludeDir()
public void setIncludeDir(String IncludeDir)
IncludeDir
- Include directories, separated by semicolons (;).public String getExcludeDir()
public void setExcludeDir(String ExcludeDir)
ExcludeDir
- Exclude directories, separated by semicolons (;).public Long getBackupType()
public void setBackupType(Long BackupType)
BackupType
- Backup pattern: 0 weekly, 1 daily.public String getWeekday()
public void setWeekday(String Weekday)
Weekday
- Scheduled task execution days in a week (1-7): 1; 2; 7.public Long getSaveDay()
public void setSaveDay(Long SaveDay)
SaveDay
- Retention Period: 0 Permanent.public RansomDefenseStrategyMachineInfo[] getMachines()
public void setMachines(RansomDefenseStrategyMachineInfo[] Machines)
Machines
- Bound Host ListCopyright © 2024. All rights reserved.