com.aliyun.sdk.service.dataphin_public20230630.models.CreateDataSourceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateDataSourceResponseBody} extends {@link TeaModel}
*
* CreateDataSourceResponseBody
*/
public class CreateDataSourceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("CreateResult")
private CreateResult createResult;
@com.aliyun.core.annotation.NameInMap("HttpStatusCode")
private Integer httpStatusCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private CreateDataSourceResponseBody(Builder builder) {
this.code = builder.code;
this.createResult = builder.createResult;
this.httpStatusCode = builder.httpStatusCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static CreateDataSourceResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return createResult
*/
public CreateResult getCreateResult() {
return this.createResult;
}
/**
* @return httpStatusCode
*/
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private CreateResult createResult;
private Integer httpStatusCode;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* CreateResult.
*/
public Builder createResult(CreateResult createResult) {
this.createResult = createResult;
return this;
}
/**
* HttpStatusCode.
*/
public Builder httpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateDataSourceResponseBody build() {
return new CreateDataSourceResponseBody(this);
}
}
/**
*
* {@link CreateDataSourceResponseBody} extends {@link TeaModel}
*
* CreateDataSourceResponseBody
*/
public static class CreateResult extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DevDataSourceId")
private Long devDataSourceId;
@com.aliyun.core.annotation.NameInMap("ProdDataSourceId")
private Long prodDataSourceId;
private CreateResult(Builder builder) {
this.devDataSourceId = builder.devDataSourceId;
this.prodDataSourceId = builder.prodDataSourceId;
}
public static Builder builder() {
return new Builder();
}
public static CreateResult create() {
return builder().build();
}
/**
* @return devDataSourceId
*/
public Long getDevDataSourceId() {
return this.devDataSourceId;
}
/**
* @return prodDataSourceId
*/
public Long getProdDataSourceId() {
return this.prodDataSourceId;
}
public static final class Builder {
private Long devDataSourceId;
private Long prodDataSourceId;
/**
* DevDataSourceId.
*/
public Builder devDataSourceId(Long devDataSourceId) {
this.devDataSourceId = devDataSourceId;
return this;
}
/**
* ProdDataSourceId.
*/
public Builder prodDataSourceId(Long prodDataSourceId) {
this.prodDataSourceId = prodDataSourceId;
return this;
}
public CreateResult build() {
return new CreateResult(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy