public static final class ModifyUniBackupPolicyRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyUniBackupPolicyRequest.Builder |
accountName(String accountName)
The name of the database account.
|
ModifyUniBackupPolicyRequest.Builder |
accountPassword(String accountPassword)
The password of the database account.
|
ModifyUniBackupPolicyRequest |
build() |
ModifyUniBackupPolicyRequest.Builder |
fullPlan(Map<String,?> fullPlan)
The policy for full backup.
|
ModifyUniBackupPolicyRequest.Builder |
incPlan(Map<String,?> incPlan)
The policy for incremental backup.
|
ModifyUniBackupPolicyRequest.Builder |
policyId(Long policyId)
The ID of the anti-ransomware policy.
|
ModifyUniBackupPolicyRequest.Builder |
policyName(String policyName)
The name of the anti-ransomware policy.
|
ModifyUniBackupPolicyRequest.Builder |
policyStatus(String policyStatus)
The status of the anti-ransomware policy.
|
ModifyUniBackupPolicyRequest.Builder |
retention(Integer retention)
The retention period of the backup snapshot.
|
ModifyUniBackupPolicyRequest.Builder |
speedLimiter(Long speedLimiter)
The maximum network bandwidth that is allowed during data backup.
|
public ModifyUniBackupPolicyRequest.Builder accountName(String accountName)
public ModifyUniBackupPolicyRequest.Builder accountPassword(String accountPassword)
public ModifyUniBackupPolicyRequest.Builder fullPlan(Map<String,?> fullPlan)
* **start**: the start time of a backup task * **interval**: the interval of backup tasks * **type**: the unit of the interval * **days**: the days of a week on which a backup task is performed
public ModifyUniBackupPolicyRequest.Builder incPlan(Map<String,?> incPlan)
* **start**: the start time of a backup task * **interval**: the interval of backup tasks * **type**: the unit of the interval * **days**: the days of a week on which a backup task is performed
public ModifyUniBackupPolicyRequest.Builder policyId(Long policyId)
> You can call the [DescribeUniBackupPolicies](~~DescribeUniBackupPolicies~~) operation to query the IDs of anti-ransomware policies.
public ModifyUniBackupPolicyRequest.Builder policyName(String policyName)
public ModifyUniBackupPolicyRequest.Builder policyStatus(String policyStatus)
* **enabled** * **disabled**
public ModifyUniBackupPolicyRequest.Builder retention(Integer retention)
public ModifyUniBackupPolicyRequest.Builder speedLimiter(Long speedLimiter)
public ModifyUniBackupPolicyRequest build()
Copyright © 2023. All rights reserved.