com.aliyun.polardb20170801.models.DescribeBackupTasksRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polardb20170801 Show documentation
Show all versions of polardb20170801 Show documentation
Alibaba Cloud ApsaraDB for POLARDB (20170801) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class DescribeBackupTasksRequest extends TeaModel {
/**
* The ID of the backup task.
*
* example:
* 11111111
*/
@NameInMap("BackupJobId")
public String backupJobId;
/**
* The backup mode. Valid values:
*
* - Automated
* - Manual
*
*
* example:
* Manual
*/
@NameInMap("BackupMode")
public String backupMode;
/**
* The cluster ID.
* This parameter is required.
*
* example:
* pc-***************
*/
@NameInMap("DBClusterId")
public String DBClusterId;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static DescribeBackupTasksRequest build(java.util.Map map) throws Exception {
DescribeBackupTasksRequest self = new DescribeBackupTasksRequest();
return TeaModel.build(map, self);
}
public DescribeBackupTasksRequest setBackupJobId(String backupJobId) {
this.backupJobId = backupJobId;
return this;
}
public String getBackupJobId() {
return this.backupJobId;
}
public DescribeBackupTasksRequest setBackupMode(String backupMode) {
this.backupMode = backupMode;
return this;
}
public String getBackupMode() {
return this.backupMode;
}
public DescribeBackupTasksRequest setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public DescribeBackupTasksRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public DescribeBackupTasksRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public DescribeBackupTasksRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public DescribeBackupTasksRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}