public static final class ModifyBackupPolicyStatusRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyBackupPolicyStatusRequest |
build() |
ModifyBackupPolicyStatusRequest.Builder |
id(Long id)
The ID of the anti-ransomware policy.
|
ModifyBackupPolicyStatusRequest.Builder |
policyVersion(String policyVersion)
The version of the anti-ransomware policy.
|
ModifyBackupPolicyStatusRequest.Builder |
status(String status)
Specifies whether to enable or disable the anti-ransomware policy.
|
public ModifyBackupPolicyStatusRequest.Builder id(Long id)
The ID of the anti-ransomware policy.
This parameter is required.
example:30490
public ModifyBackupPolicyStatusRequest.Builder policyVersion(String policyVersion)
The version of the anti-ransomware policy. Set the value to 2.0.0.
example:2.0.0
public ModifyBackupPolicyStatusRequest.Builder status(String status)
Specifies whether to enable or disable the anti-ransomware policy. Valid values:
When the system runs data backup tasks, your network bandwidth is consumed. We recommend that you enable the anti-ransomware policy during peak-off hours to back up data.
This parameter is required.
example:enabled
public ModifyBackupPolicyStatusRequest build()
Copyright © 2026. All rights reserved.