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

com.aliyun.sdk.service.dts20200101.models.RenewInstanceResponseBody Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
// 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 RenewInstanceResponseBody} extends {@link TeaModel}
 *
 * 

RenewInstanceResponseBody

*/ public class RenewInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("DtsJobId") private String dtsJobId; @com.aliyun.core.annotation.NameInMap("DynamicMessage") private String dynamicMessage; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @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("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private RenewInstanceResponseBody(Builder builder) { this.chargeType = builder.chargeType; this.code = builder.code; this.dtsJobId = builder.dtsJobId; this.dynamicMessage = builder.dynamicMessage; this.endTime = builder.endTime; this.errCode = builder.errCode; this.errMessage = builder.errMessage; this.httpStatusCode = builder.httpStatusCode; this.instanceId = builder.instanceId; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static RenewInstanceResponseBody create() { return builder().build(); } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return code */ public String getCode() { return this.code; } /** * @return dtsJobId */ public String getDtsJobId() { return this.dtsJobId; } /** * @return dynamicMessage */ public String getDynamicMessage() { return this.dynamicMessage; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @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 instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String chargeType; private String code; private String dtsJobId; private String dynamicMessage; private String endTime; private String errCode; private String errMessage; private Integer httpStatusCode; private String instanceId; private String requestId; private Boolean success; /** * The billing method of the DTS instance. **PREPAY** is returned, which indicates the subscription billing method. */ public Builder chargeType(String chargeType) { this.chargeType = chargeType; return this; } /** * The error code. *

* * > This parameter will be removed in the future. */ public Builder code(String code) { this.code = code; return this; } /** * The ID of the data synchronization or change tracking task. */ public Builder dtsJobId(String dtsJobId) { this.dtsJobId = dtsJobId; return this; } /** * The dynamic part in the error message. This parameter is used to replace the **%s** variable in the **ErrMessage** parameter. *

* * > If the return value of the **ErrMessage** parameter is **The Value of Input Parameter %s is not valid** and the return value of the **DynamicMessage** parameter is **DtsJobId**, the specified **DtsJobId** parameter is invalid. */ public Builder dynamicMessage(String dynamicMessage) { this.dynamicMessage = dynamicMessage; return this; } /** * The time when the DTS instance expires after renewal. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ssZZZ* format. The time is displayed in UTC. *

* * > **ZZZ** indicates the offset of the time zone, which is displayed in the format of a plus sign (+) or a minus sign (-) followed by hours and minutes, such as **+00:00**. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * The error code returned if the request failed. */ public Builder errCode(String errCode) { this.errCode = errCode; return this; } /** * The error message returned if the request failed. */ public Builder errMessage(String errMessage) { this.errMessage = errMessage; return this; } /** * The HTTP status code. */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * The ID of the DTS instance. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Indicates whether the request was successful. Valid values: *

* * * **true**: The request was successful. * * **false**: The request failed. */ public Builder success(Boolean success) { this.success = success; return this; } public RenewInstanceResponseBody build() { return new RenewInstanceResponseBody(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy