com.aliyun.sdk.service.dts20200101.models.StartSubscriptionInstanceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dts20200101 Show documentation
Show all versions of alibabacloud-dts20200101 Show documentation
Alibaba Cloud Dts (20200101) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dts20200101.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link StartSubscriptionInstanceResponseBody} extends {@link TeaModel}
*
* StartSubscriptionInstanceResponseBody
*/
public class StartSubscriptionInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ErrCode")
private String errCode;
@com.aliyun.core.annotation.NameInMap("ErrMessage")
private String errMessage;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private String success;
@com.aliyun.core.annotation.NameInMap("TaskId")
private String taskId;
private StartSubscriptionInstanceResponseBody(Builder builder) {
this.errCode = builder.errCode;
this.errMessage = builder.errMessage;
this.requestId = builder.requestId;
this.success = builder.success;
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static StartSubscriptionInstanceResponseBody create() {
return builder().build();
}
/**
* @return errCode
*/
public String getErrCode() {
return this.errCode;
}
/**
* @return errMessage
*/
public String getErrMessage() {
return this.errMessage;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public String getSuccess() {
return this.success;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
public static final class Builder {
private String errCode;
private String errMessage;
private String requestId;
private String success;
private String taskId;
/**
* The error code returned if the call failed.
*/
public Builder errCode(String errCode) {
this.errCode = errCode;
return this;
}
/**
* The error message returned if the call failed.
*/
public Builder errMessage(String errMessage) {
this.errMessage = errMessage;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Indicates whether the call was successful.
*/
public Builder success(String success) {
this.success = success;
return this;
}
/**
* The task ID. This parameter will be removed in the future.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
public StartSubscriptionInstanceResponseBody build() {
return new StartSubscriptionInstanceResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy