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

com.aliyun.sdk.service.ververica20220718.models.CreateDeploymentResponseBody Maven / Gradle / Ivy

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

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link CreateDeploymentResponseBody} extends {@link TeaModel}
 *
 * 

CreateDeploymentResponseBody

*/ public class CreateDeploymentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private Deployment data; @com.aliyun.core.annotation.NameInMap("errorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("errorMessage") private String errorMessage; @com.aliyun.core.annotation.NameInMap("httpCode") private Integer httpCode; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; @com.aliyun.core.annotation.NameInMap("success") private Boolean success; private CreateDeploymentResponseBody(Builder builder) { this.data = builder.data; this.errorCode = builder.errorCode; this.errorMessage = builder.errorMessage; this.httpCode = builder.httpCode; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static CreateDeploymentResponseBody create() { return builder().build(); } /** * @return data */ public Deployment getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return httpCode */ public Integer getHttpCode() { return this.httpCode; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Deployment data; private String errorCode; private String errorMessage; private Integer httpCode; private String requestId; private Boolean success; /** * * If the value of success was true, the deployment that you created was returned. *

* * If the value of success was false, a null value was returned. */ public Builder data(Deployment data) { this.data = data; return this; } /** * * If the value of success was false, an error code was returned. *

* * If the value of success was true, a null value was returned. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * * If the value of success was false, an error message was returned. *

* * If the value of success was true, a null value was returned. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The value was fixed to 200. */ public Builder httpCode(Integer httpCode) { this.httpCode = httpCode; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Indicates whether the request was successful. */ public Builder success(Boolean success) { this.success = success; return this; } public CreateDeploymentResponseBody build() { return new CreateDeploymentResponseBody(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy