com.aliyun.sdk.service.polardb20170801.models.DescribeBackupTasksResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-polardb20170801 Show documentation
Show all versions of alibabacloud-polardb20170801 Show documentation
Alibaba Cloud polardb (20170801) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeBackupTasksResponseBody} extends {@link TeaModel}
*
* DescribeBackupTasksResponseBody
*/
public class DescribeBackupTasksResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Items")
private Items items;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeBackupTasksResponseBody(Builder builder) {
this.items = builder.items;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBackupTasksResponseBody create() {
return builder().build();
}
/**
* @return items
*/
public Items getItems() {
return this.items;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Items items;
private String requestId;
/**
* The details of the backup task.
*/
public Builder items(Items items) {
this.items = items;
return this;
}
/**
* The request ID.
*
* example:
* FA8C1EF1-E3D4-44D7-B809-823187******
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeBackupTasksResponseBody build() {
return new DescribeBackupTasksResponseBody(this);
}
}
/**
*
* {@link DescribeBackupTasksResponseBody} extends {@link TeaModel}
*
* DescribeBackupTasksResponseBody
*/
public static class BackupJob extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackupJobId")
private String backupJobId;
@com.aliyun.core.annotation.NameInMap("BackupProgressStatus")
private String backupProgressStatus;
@com.aliyun.core.annotation.NameInMap("JobMode")
private String jobMode;
@com.aliyun.core.annotation.NameInMap("Process")
private String process;
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.NameInMap("TaskAction")
private String taskAction;
private BackupJob(Builder builder) {
this.backupJobId = builder.backupJobId;
this.backupProgressStatus = builder.backupProgressStatus;
this.jobMode = builder.jobMode;
this.process = builder.process;
this.startTime = builder.startTime;
this.taskAction = builder.taskAction;
}
public static Builder builder() {
return new Builder();
}
public static BackupJob create() {
return builder().build();
}
/**
* @return backupJobId
*/
public String getBackupJobId() {
return this.backupJobId;
}
/**
* @return backupProgressStatus
*/
public String getBackupProgressStatus() {
return this.backupProgressStatus;
}
/**
* @return jobMode
*/
public String getJobMode() {
return this.jobMode;
}
/**
* @return process
*/
public String getProcess() {
return this.process;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return taskAction
*/
public String getTaskAction() {
return this.taskAction;
}
public static final class Builder {
private String backupJobId;
private String backupProgressStatus;
private String jobMode;
private String process;
private String startTime;
private String taskAction;
/**
* The ID of the backup task.
*
* example:
* 11111111
*/
public Builder backupJobId(String backupJobId) {
this.backupJobId = backupJobId;
return this;
}
/**
* The state of the backup task. Valid values:
*
* - NoStart
* - Preparing
* - Waiting
* - Uploading
* - Checking
* - Finished
*
*
* example:
* NoStart
*/
public Builder backupProgressStatus(String backupProgressStatus) {
this.backupProgressStatus = backupProgressStatus;
return this;
}
/**
* The backup mode. Valid values:
*
* - Automated
* - Manual
*
*
* example:
* Automated
*/
public Builder jobMode(String jobMode) {
this.jobMode = jobMode;
return this;
}
/**
* The progress of the backup task in percentage.
*
* example:
* 0
*/
public Builder process(String process) {
this.process = process;
return this;
}
/**
* The time when the backup task started. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ
format. The time is displayed in UTC.
*
* example:
* 2020-08-08T07:24:01Z
*/
public Builder startTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* The type of the backup task. Valid values:
*
* - TempBackupTask: The backup task is an adhoc backup task.
* - NormalBackupTask: The backup task is a common backup task.
*
*
* example:
* NormalBackupTask
*/
public Builder taskAction(String taskAction) {
this.taskAction = taskAction;
return this;
}
public BackupJob build() {
return new BackupJob(this);
}
}
}
/**
*
* {@link DescribeBackupTasksResponseBody} extends {@link TeaModel}
*
* DescribeBackupTasksResponseBody
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackupJob")
private java.util.List backupJob;
private Items(Builder builder) {
this.backupJob = builder.backupJob;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return backupJob
*/
public java.util.List getBackupJob() {
return this.backupJob;
}
public static final class Builder {
private java.util.List backupJob;
/**
* BackupJob.
*/
public Builder backupJob(java.util.List backupJob) {
this.backupJob = backupJob;
return this;
}
public Items build() {
return new Items(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy