public static final class DescribeBackupPoliciesResponseBody.Policies.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeBackupPoliciesResponseBody.Policies |
build() |
DescribeBackupPoliciesResponseBody.Policies.Builder |
clientErrorCount(Integer clientErrorCount)
The number of the servers on which the anti-ransomware agent is in an abnormal state.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
clientErrorUuidList(List<String> clientErrorUuidList)
The UUIDs of the servers on which the anti-ransomware agent is in an abnormal state.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
clientStatus(String clientStatus)
The status of the anti-ransomware agent.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
healthClientCount(Integer healthClientCount)
The number of the servers on which the anti-ransomware agent is in a normal state.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
healthClientUuidList(List<String> healthClientUuidList)
The UUIDs of the servers on which the anti-ransomware agent is in a normal state.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
id(Long id)
The ID of the anti-ransomware policy.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
lastStatusSyncTime(Long lastStatusSyncTime)
The time when the anti-ransomware policy was last updated.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
name(String name)
The name of the anti-ransomware policy.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
policy(String policy)
The configurations of the anti-ransomware policy.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
policyRegionId(String policyRegionId)
The ID of the region that you specified for data backup when you installed the anti-ransomware agent for the server not deployed on Alibaba Cloud.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
policyVersion(String policyVersion)
The version of the anti-ransomware policy.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
preStatus(String preStatus)
The previous status of the anti-ransomware policy.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
remarkedUuidList(List<String> remarkedUuidList)
The UUIDs that are returned based on the value of the MachineRemark request parameter.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
serverType(String serverType)
The type of the server.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
serviceErrorCount(Integer serviceErrorCount)
The number of servers on which data backup is exceptional.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
serviceErrorUuidList(List<String> serviceErrorUuidList)
The UUIDs of the servers on which data backup is exceptional.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
status(String status)
The status of the anti-ransomware policy.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
upgradeStatus(String upgradeStatus)
The upgrade status of the anti-ransomware policy.
|
DescribeBackupPoliciesResponseBody.Policies.Builder |
uuidList(List<String> uuidList)
The UUIDs of the servers to which the anti-ransomware policy is applied.
|
public DescribeBackupPoliciesResponseBody.Policies.Builder clientErrorCount(Integer clientErrorCount)
The number of the servers on which the anti-ransomware agent is in an abnormal state.
example:2
public DescribeBackupPoliciesResponseBody.Policies.Builder clientErrorUuidList(List<String> clientErrorUuidList)
The UUIDs of the servers on which the anti-ransomware agent is in an abnormal state.
public DescribeBackupPoliciesResponseBody.Policies.Builder clientStatus(String clientStatus)
The status of the anti-ransomware agent. Valid values:
running
public DescribeBackupPoliciesResponseBody.Policies.Builder healthClientCount(Integer healthClientCount)
The number of the servers on which the anti-ransomware agent is in a normal state.
example:2
public DescribeBackupPoliciesResponseBody.Policies.Builder healthClientUuidList(List<String> healthClientUuidList)
The UUIDs of the servers on which the anti-ransomware agent is in a normal state.
public DescribeBackupPoliciesResponseBody.Policies.Builder id(Long id)
The ID of the anti-ransomware policy.
example:11
public DescribeBackupPoliciesResponseBody.Policies.Builder lastStatusSyncTime(Long lastStatusSyncTime)
The time when the anti-ransomware policy was last updated. Unit: milliseconds.
example:1719488535027
public DescribeBackupPoliciesResponseBody.Policies.Builder name(String name)
The name of the anti-ransomware policy.
example:SecurityStrategy-20200303
public DescribeBackupPoliciesResponseBody.Policies.Builder policy(String policy)
The configurations of the anti-ransomware policy. The value of this parameter is in the JSON format and contains the following fields:
IsDefault: the type of the anti-ransomware policy. Valid values:
Include: the format of the files that are protected. If the value of this field is [], all formats of files are protected.
Source: the directory that is protected. If the value of this field is [], all directories are protected.
ExcludeSystemPath: indicates whether a specified directory is excluded from the anti-ransomware policy. If the value of this field is true, a directory is excluded. If this field is left empty, no directories are excluded.
Exclude: the directory that is excluded from the anti-ransomware policy. If the value of this field is [], no directories are excluded.
Schedule: the start time and interval of a data backup task. We recommend that you specify a start time that begins during off-peak hours but does not start on the hour. Examples:
Retention: the period during which backup data is retained. Unit: days. If the value of this field is 7, backup data is retained for a week. If the value of this field is 365, backup data is retained for a year. If the value of this field is -1, backup data is permanently retained.
SpeedLimiter: the limit on the network bandwidth for data backup tasks. If the value of this field is 0:24:30720, the maximum bandwidth for a data backup task is 30 MB/s from 00:00 to 24:00.
UseVss: indicates whether the VSS feature is enabled. The feature is available only for Windows servers. Valid values:
example:The VSS feature is available only if you create the anti-ransomware policy for Windows servers. After you enable the feature, the number of backup failures due to running processes is significantly reduced. We recommend that you enable the VSS feature. After you enable the feature, the data of disks that are in the exFAT and FAT32 formats cannot be backed up.
{"Exclude":["/bin/","/usr/bin/","/sbin/","/boot/","/proc/","/sys/","/srv/","/lib/","/selinux/","/usr/sbin/","/run/","/lib32/","/lib64/","/lost+found/","/var/lib/kubelet/","/var/lib/ntp/proc","/var/lib/container","Windows\","Python27\","Program Files (x86)\","Program Files\","Boot\","$RECYCLE.BIN","System Volume Information\","Users\Administrator\NTUSER.DAT*","ProgramData\","pagefile.sys","Users\Default\NTUSER.DAT*","Users\Administrator\ntuser.*"],"ExcludeSystemPath":true,"Include":[],"IsDefault":1,"Retention":7,"Schedule":"I|1630689360|PT24H","Source":[],"SpeedLimiter":"","UseVss":true}
public DescribeBackupPoliciesResponseBody.Policies.Builder policyRegionId(String policyRegionId)
The ID of the region that you specified for data backup when you installed the anti-ransomware agent for the server not deployed on Alibaba Cloud.
example:ch-hangzhou
public DescribeBackupPoliciesResponseBody.Policies.Builder policyVersion(String policyVersion)
The version of the anti-ransomware policy. Valid values:
2.0.0
public DescribeBackupPoliciesResponseBody.Policies.Builder preStatus(String preStatus)
The previous status of the anti-ransomware policy. Valid values:
disabled
public DescribeBackupPoliciesResponseBody.Policies.Builder remarkedUuidList(List<String> remarkedUuidList)
The UUIDs that are returned based on the value of the MachineRemark request parameter.
public DescribeBackupPoliciesResponseBody.Policies.Builder serverType(String serverType)
The type of the server. Valid values:
OUT_CLOUD
public DescribeBackupPoliciesResponseBody.Policies.Builder serviceErrorCount(Integer serviceErrorCount)
The number of servers on which data backup is exceptional.
example:2
public DescribeBackupPoliciesResponseBody.Policies.Builder serviceErrorUuidList(List<String> serviceErrorUuidList)
The UUIDs of the servers on which data backup is exceptional.
public DescribeBackupPoliciesResponseBody.Policies.Builder status(String status)
The status of the anti-ransomware policy. Valid values:
enabled
public DescribeBackupPoliciesResponseBody.Policies.Builder upgradeStatus(String upgradeStatus)
The upgrade status of the anti-ransomware policy. Valid values:
Upgrading
public DescribeBackupPoliciesResponseBody.Policies.Builder uuidList(List<String> uuidList)
The UUIDs of the servers to which the anti-ransomware policy is applied.
public DescribeBackupPoliciesResponseBody.Policies build()
Copyright © 2026. All rights reserved.