com.aliyun.rds20140815.models.UpdateUserBackupFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class UpdateUserBackupFileRequest extends TeaModel {
/**
* The backup ID. You can call the ListUserBackupFiles operation to query the backup ID.
* This parameter is required.
*
* example:
* b-kwwvr7v8t7of********
*/
@NameInMap("BackupId")
public String backupId;
/**
* The new description of the full backup file.
*
* example:
* CommentTest
*/
@NameInMap("Comment")
public String comment;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The region ID. You can call the DescribeRegions operation to query the most recent region list.
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.
*
* example:
* rg-acfmy*****
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
/**
* The new retention period of the full backup file. Unit: days. Valid values: any non-zero positive integer.
*
* example:
* 30
*/
@NameInMap("Retention")
public Integer retention;
public static UpdateUserBackupFileRequest build(java.util.Map map) throws Exception {
UpdateUserBackupFileRequest self = new UpdateUserBackupFileRequest();
return TeaModel.build(map, self);
}
public UpdateUserBackupFileRequest setBackupId(String backupId) {
this.backupId = backupId;
return this;
}
public String getBackupId() {
return this.backupId;
}
public UpdateUserBackupFileRequest setComment(String comment) {
this.comment = comment;
return this;
}
public String getComment() {
return this.comment;
}
public UpdateUserBackupFileRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public UpdateUserBackupFileRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public UpdateUserBackupFileRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public UpdateUserBackupFileRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public UpdateUserBackupFileRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public UpdateUserBackupFileRequest setRetention(Integer retention) {
this.retention = retention;
return this;
}
public Integer getRetention() {
return this.retention;
}
}