All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.gpdb20160503.models.GetUpsertCollectionDataJobResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;

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 { @com.aliyun.core.annotation.NameInMap("Job") private Job job; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.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; /** * The information about the vector data upload job. */ public Builder job(Job job) { this.job = job; return this; } /** * The returned message. */ public Builder message(String message) { this.message = message; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The status of the operation. Valid values: *

* * * **success** * * **fail** */ public Builder status(String status) { this.status = status; return this; } public GetUpsertCollectionDataJobResponseBody build() { return new GetUpsertCollectionDataJobResponseBody(this); } } public static class Job extends TeaModel { @com.aliyun.core.annotation.NameInMap("Completed") private Boolean completed; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Error") private String error; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Progress") private Integer progress; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.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; /** * Indicates whether the operation is complete. */ public Builder completed(Boolean completed) { this.completed = completed; return this; } /** * The time when the job was created. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * The error message. */ public Builder error(String error) { this.error = error; return this; } /** * The job ID. */ public Builder id(String id) { this.id = id; return this; } /** * The progress of the vector data upload job. The value of this parameter indicates the number of data entries that have been uploaded. */ public Builder progress(Integer progress) { this.progress = progress; return this; } /** * The status of the job. *

* * > Valid values: * * * Success * * * Failed (See the Error parameter for failure reasons.) * * * Cancelling * * * Cancelled * * * Start * * * Running */ public Builder status(String status) { this.status = status; return this; } /** * The time when the job was updated. */ public Builder updateTime(String updateTime) { this.updateTime = updateTime; return this; } public Job build() { return new Job(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy