com.aliyun.sas20181203.models.DeleteBackupPolicyRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class DeleteBackupPolicyRequest extends TeaModel {
/**
* The ID of the anti-ransomware policy that you want to delete.
*
* > You can call the [DescribeBackupPolicies](~~DescribeBackupPolicies~~) operation to query the IDs of anti-ransomware policies.
*/
@NameInMap("Id")
public Long id;
/**
* The version of the anti-ransomware policy that you want to delete. You can call the [DescribeBackupPolicies](~~DescribeBackupPolicies~~) operation to query the versions of anti-ransomware policies. Valid values:
*
* * **1.0.0**
* * **2.0.0**
*/
@NameInMap("PolicyVersion")
public String policyVersion;
public static DeleteBackupPolicyRequest build(java.util.Map map) throws Exception {
DeleteBackupPolicyRequest self = new DeleteBackupPolicyRequest();
return TeaModel.build(map, self);
}
public DeleteBackupPolicyRequest setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public DeleteBackupPolicyRequest setPolicyVersion(String policyVersion) {
this.policyVersion = policyVersion;
return this;
}
public String getPolicyVersion() {
return this.policyVersion;
}
}