com.aliyun.sdk.service.dts20200101.models.DeleteDtsJobResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-dts20200101 Show documentation
// 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 DeleteDtsJobResponseBody} extends {@link TeaModel}
*
* DeleteDtsJobResponseBody
*/
public class DeleteDtsJobResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DynamicCode")
private String dynamicCode;
@com.aliyun.core.annotation.NameInMap("DynamicMessage")
private String dynamicMessage;
@com.aliyun.core.annotation.NameInMap("ErrCode")
private String errCode;
@com.aliyun.core.annotation.NameInMap("ErrMessage")
private String errMessage;
@com.aliyun.core.annotation.NameInMap("HttpStatusCode")
private Integer httpStatusCode;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DeleteDtsJobResponseBody(Builder builder) {
this.dynamicCode = builder.dynamicCode;
this.dynamicMessage = builder.dynamicMessage;
this.errCode = builder.errCode;
this.errMessage = builder.errMessage;
this.httpStatusCode = builder.httpStatusCode;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDtsJobResponseBody create() {
return builder().build();
}
/**
* @return dynamicCode
*/
public String getDynamicCode() {
return this.dynamicCode;
}
/**
* @return dynamicMessage
*/
public String getDynamicMessage() {
return this.dynamicMessage;
}
/**
* @return errCode
*/
public String getErrCode() {
return this.errCode;
}
/**
* @return errMessage
*/
public String getErrMessage() {
return this.errMessage;
}
/**
* @return httpStatusCode
*/
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String dynamicCode;
private String dynamicMessage;
private String errCode;
private String errMessage;
private Integer httpStatusCode;
private String requestId;
private Boolean success;
/**
* The operation that you want to perform. Set the value to **DeleteDtsJob**.
*/
public Builder dynamicCode(String dynamicCode) {
this.dynamicCode = dynamicCode;
return this;
}
/**
* The operation that you want to perform. Set the value to **DeleteDtsJob**.
*/
public Builder dynamicMessage(String dynamicMessage) {
this.dynamicMessage = dynamicMessage;
return this;
}
/**
* The error message returned if the call failed.
*/
public Builder errCode(String errCode) {
this.errCode = errCode;
return this;
}
/**
* The ID of the request.
*/
public Builder errMessage(String errMessage) {
this.errMessage = errMessage;
return this;
}
/**
* The ID of the data migration, data synchronization, or change tracking instance.
*/
public Builder httpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
/**
* The synchronization direction. Valid values:
*
*
* * **Forward**: Data is synchronized from the source database to the destination database.
* * **Reverse**: Data is synchronized from the destination database to the source database.
*
* >
*
* * Default value: **Forward**.
* * You can set this parameter to **Reverse** to delete the reverse synchronization task only if the topology is two-way synchronization.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The ID of the region in which the data migration or synchronization task resides. For more information, see [List of supported regions](~~141033~~).
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteDtsJobResponseBody build() {
return new DeleteDtsJobResponseBody(this);
}
}
}