com.aliyun.sdk.service.gpdb20160503.models.GetUpsertCollectionDataJobResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetUpsertCollectionDataJobResponseBody} extends {@link TeaModel}
*
* GetUpsertCollectionDataJobResponseBody
*/
public class GetUpsertCollectionDataJobResponseBody extends TeaModel {
@NameInMap("Job")
private Job job;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Status")
private String status;
private GetUpsertCollectionDataJobResponseBody(Builder builder) {
this.job = builder.job;
this.message = builder.message;
this.requestId = builder.requestId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static GetUpsertCollectionDataJobResponseBody create() {
return builder().build();
}
/**
* @return job
*/
public Job getJob() {
return this.job;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private Job job;
private String message;
private String requestId;
private String status;
/**
* Job.
*/
public Builder job(Job job) {
this.job = job;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
public GetUpsertCollectionDataJobResponseBody build() {
return new GetUpsertCollectionDataJobResponseBody(this);
}
}
public static class Job extends TeaModel {
@NameInMap("Completed")
private Boolean completed;
@NameInMap("CreateTime")
private String createTime;
@NameInMap("Error")
private String error;
@NameInMap("Id")
private String id;
@NameInMap("Progress")
private Integer progress;
@NameInMap("Status")
private String status;
@NameInMap("UpdateTime")
private String updateTime;
private Job(Builder builder) {
this.completed = builder.completed;
this.createTime = builder.createTime;
this.error = builder.error;
this.id = builder.id;
this.progress = builder.progress;
this.status = builder.status;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static Job create() {
return builder().build();
}
/**
* @return completed
*/
public Boolean getCompleted() {
return this.completed;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return error
*/
public String getError() {
return this.error;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return progress
*/
public Integer getProgress() {
return this.progress;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private Boolean completed;
private String createTime;
private String error;
private String id;
private Integer progress;
private String status;
private String updateTime;
/**
* Completed.
*/
public Builder completed(Boolean completed) {
this.completed = completed;
return this;
}
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Error.
*/
public Builder error(String error) {
this.error = error;
return this;
}
/**
* Job ID。
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Progress.
*/
public Builder progress(Integer progress) {
this.progress = progress;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* UpdateTime.
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
public Job build() {
return new Job(this);
}
}
}
}