All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sas20181203.models.ModifyBackupPolicyStatusRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class ModifyBackupPolicyStatusRequest extends TeaModel {
    /**
     * 

The ID of the anti-ransomware policy.

*/ @NameInMap("Id") public Long id; /** *

The version of the anti-ransomware policy. Set the value to **2.0.0**.

*/ @NameInMap("PolicyVersion") public String policyVersion; /** *

Specifies whether to enable or disable the anti-ransomware policy. Valid values:

*
*

* **enabled**: enables the anti-ransomware policy. After you enable the anti-ransomware policy, the anti-ransomware feature protects data on your servers. Data on your servers is backed up based on the policy.

*

* **disabled**: disables the anti-ransomware policy. After you disable the anti-ransomware policy, the data backup task that is running based on the policy stops.

*
*

> 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.

*/ @NameInMap("Status") public String status; public static ModifyBackupPolicyStatusRequest build(java.util.Map map) throws Exception { ModifyBackupPolicyStatusRequest self = new ModifyBackupPolicyStatusRequest(); return TeaModel.build(map, self); } public ModifyBackupPolicyStatusRequest setId(Long id) { this.id = id; return this; } public Long getId() { return this.id; } public ModifyBackupPolicyStatusRequest setPolicyVersion(String policyVersion) { this.policyVersion = policyVersion; return this; } public String getPolicyVersion() { return this.policyVersion; } public ModifyBackupPolicyStatusRequest setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy