public static final class DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder extends Object
public DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder clientStatus(String clientStatus)
The status of the anti-ransomware agent. Valid values:
running
public DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder id(Long id)
The ID of the anti-ransomware policy.
example:51880
public DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder name(String name)
The name of the anti-ransomware policy.
example:testBuckUp
public DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder policy(String policy)
IsDefault: the type of the anti-ransomware policy. Valid values:
Include: the format of the files that you want to protect. If you want to protect the files in all formats, set this field to [].
Source: the directory that you want to protect. If you want to protect all directories, set this field to [].
ExcludeSystemPath: specifies whether to exclude a specific directory from the anti-ransomware policy. If you want to exclude a directory, set this field to true. If you do not want to exclude a directory, leave this field empty.
Exclude: the directory that you want to exclude from the anti-ransomware policy. If you do not want to exclude a directory, set this field to [].
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 you set this field to 7, backup data is retained for a week. If you set this field to 365, backup data is retained for a year. If you set this field to -1, backup data is permanently retained.
SpeedLimiter: the limit on the network bandwidth for data backup tasks. If you set this field to 0:24:30720, the maximum bandwidth for a data backup task is 30 MB/s from 00:00 to 24:00.
UseVss: specifies whether to enable the VSS feature. 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 DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder policyVersion(String policyVersion)
The version of the anti-ransomware policy.
2.0.0
public DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder regionId(String regionId)
The ID of the region in which backup data is stored.
example:cn-beijing
public DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder status(String status)
The status of the anti-ransomware policy. Valid values:
closed
public DescribeBackupPolicyResponseBody.BackupPolicyDetail.Builder uuidList(List<String> uuidList)
An array consisting of the UUIDs of the servers to which the anti-ransomware policy is applied.
public DescribeBackupPolicyResponseBody.BackupPolicyDetail build()
Copyright © 2026. All rights reserved.