public static final class DescribeBackupPoliciesResponseBody.Policies.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
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 |
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 |
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)
public DescribeBackupPoliciesResponseBody.Policies.Builder clientErrorUuidList(List<String> clientErrorUuidList)
public DescribeBackupPoliciesResponseBody.Policies.Builder clientStatus(String clientStatus)
* **running**: normal * **exception**: abnormal
public DescribeBackupPoliciesResponseBody.Policies.Builder healthClientCount(Integer healthClientCount)
public DescribeBackupPoliciesResponseBody.Policies.Builder healthClientUuidList(List<String> healthClientUuidList)
public DescribeBackupPoliciesResponseBody.Policies.Builder id(Long id)
public DescribeBackupPoliciesResponseBody.Policies.Builder name(String name)
public DescribeBackupPoliciesResponseBody.Policies.Builder policy(String policy)
* **IsDefault**: the type of the anti-ransomware policy. Valid values: * **1**: recommended policy * **0**: custom policy * **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**, the 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 no directory is specified, the value of this field is \[]. * **Schedule**: the start time and interval of a data backup task. A start time that begins during off-peak hours but does not start on the hour is recommended. Examples: * If the value of this field is I|1583216092|P21D, the data backup task starts from 2020-03-03 14:14:52, and the task is run at an interval of three weeks. * If the value of this field is I|1583216092|PT24H, the data backup task starts from 2020-03-03 14:14:52, and the task is run at an interval of 24 hours. * **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: * **true**: yes * **false**: no > 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.
public DescribeBackupPoliciesResponseBody.Policies.Builder policyRegionId(String policyRegionId)
public DescribeBackupPoliciesResponseBody.Policies.Builder policyVersion(String policyVersion)
* 1.0.0 * 2.0.0
public DescribeBackupPoliciesResponseBody.Policies.Builder remarkedUuidList(List<String> remarkedUuidList)
public DescribeBackupPoliciesResponseBody.Policies.Builder serverType(String serverType)
* **OUT_CLOUD**: server not deployed on Alibaba Cloud * **ALIYUN**: Elastic Compute Service (ECS) instance * **TRIPARTITE**: simple application server
public DescribeBackupPoliciesResponseBody.Policies.Builder serviceErrorCount(Integer serviceErrorCount)
public DescribeBackupPoliciesResponseBody.Policies.Builder serviceErrorUuidList(List<String> serviceErrorUuidList)
public DescribeBackupPoliciesResponseBody.Policies.Builder status(String status)
* **enabled**: The anti-ransomware policy is manually enabled. * **disabled**: The anti-ransomware policy is manually disabled. After an anti-ransomware policy is disabled, the data backup task that is running based on the policy stops. * **closed**: The anti-ransomware policy automatically stops because the anti-ransomware capacity is insufficient.
public DescribeBackupPoliciesResponseBody.Policies.Builder upgradeStatus(String upgradeStatus)
* **NotUpgraded** * **Upgrading** * **UpgradeFailed** * **UpgradeSuccess**
public DescribeBackupPoliciesResponseBody.Policies.Builder uuidList(List<String> uuidList)
public DescribeBackupPoliciesResponseBody.Policies build()
Copyright © 2023. All rights reserved.