index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcPeakUserCntDataResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcPeakUserCntDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeMeterRtcPeakUserCntDataResponseBody</p>
*/
public class DescribeMeterRtcPeakUserCntDataResponseBody extends TeaModel {
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("RequestId")
private String requestId;
private DescribeMeterRtcPeakUserCntDataResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeterRtcPeakUserCntDataResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeMeterRtcPeakUserCntDataResponseBody build() {
return new DescribeMeterRtcPeakUserCntDataResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("ActiveUserPeak")
private Long activeUserPeak;
@NameInMap("ActiveUserPeakTime")
private Long activeUserPeakTime;
@NameInMap("Timestamp")
private Long timestamp;
private Data(Builder builder) {
this.activeUserPeak = builder.activeUserPeak;
this.activeUserPeakTime = builder.activeUserPeakTime;
this.timestamp = builder.timestamp;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return activeUserPeak
*/
public Long getActiveUserPeak() {
return this.activeUserPeak;
}
/**
* @return activeUserPeakTime
*/
public Long getActiveUserPeakTime() {
return this.activeUserPeakTime;
}
/**
* @return timestamp
*/
public Long getTimestamp() {
return this.timestamp;
}
public static final class Builder {
private Long activeUserPeak;
private Long activeUserPeakTime;
private Long timestamp;
/**
* ActiveUserPeak.
*/
public Builder activeUserPeak(Long activeUserPeak) {
this.activeUserPeak = activeUserPeak;
return this;
}
/**
* ActiveUserPeakTime.
*/
public Builder activeUserPeakTime(Long activeUserPeakTime) {
this.activeUserPeakTime = activeUserPeakTime;
return this;
}
/**
* Timestamp.
*/
public Builder timestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcRtBandWidthUsageRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcRtBandWidthUsageRequest} extends {@link RequestModel}
*
* <p>DescribeMeterRtcRtBandWidthUsageRequest</p>
*/
public class DescribeMeterRtcRtBandWidthUsageRequest extends Request {
@Query
@NameInMap("AppId")
private String appId;
@Query
@NameInMap("EndTs")
private Long endTs;
@Query
@NameInMap("Interval")
private Long interval;
@Query
@NameInMap("ServiceArea")
private String serviceArea;
@Query
@NameInMap("StartTs")
private Long startTs;
private DescribeMeterRtcRtBandWidthUsageRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.endTs = builder.endTs;
this.interval = builder.interval;
this.serviceArea = builder.serviceArea;
this.startTs = builder.startTs;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeterRtcRtBandWidthUsageRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return endTs
*/
public Long getEndTs() {
return this.endTs;
}
/**
* @return interval
*/
public Long getInterval() {
return this.interval;
}
/**
* @return serviceArea
*/
public String getServiceArea() {
return this.serviceArea;
}
/**
* @return startTs
*/
public Long getStartTs() {
return this.startTs;
}
public static final class Builder extends Request.Builder<DescribeMeterRtcRtBandWidthUsageRequest, Builder> {
private String appId;
private Long endTs;
private Long interval;
private String serviceArea;
private Long startTs;
private Builder() {
super();
}
private Builder(DescribeMeterRtcRtBandWidthUsageRequest request) {
super(request);
this.appId = request.appId;
this.endTs = request.endTs;
this.interval = request.interval;
this.serviceArea = request.serviceArea;
this.startTs = request.startTs;
}
/**
* AppId.
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* EndTs.
*/
public Builder endTs(Long endTs) {
this.putQueryParameter("EndTs", endTs);
this.endTs = endTs;
return this;
}
/**
* Interval.
*/
public Builder interval(Long interval) {
this.putQueryParameter("Interval", interval);
this.interval = interval;
return this;
}
/**
* ServiceArea.
*/
public Builder serviceArea(String serviceArea) {
this.putQueryParameter("ServiceArea", serviceArea);
this.serviceArea = serviceArea;
return this;
}
/**
* StartTs.
*/
public Builder startTs(Long startTs) {
this.putQueryParameter("StartTs", startTs);
this.startTs = startTs;
return this;
}
@Override
public DescribeMeterRtcRtBandWidthUsageRequest build() {
return new DescribeMeterRtcRtBandWidthUsageRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcRtBandWidthUsageResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcRtBandWidthUsageResponse} extends {@link TeaModel}
*
* <p>DescribeMeterRtcRtBandWidthUsageResponse</p>
*/
public class DescribeMeterRtcRtBandWidthUsageResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeMeterRtcRtBandWidthUsageResponseBody body;
private DescribeMeterRtcRtBandWidthUsageResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeMeterRtcRtBandWidthUsageResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeMeterRtcRtBandWidthUsageResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeMeterRtcRtBandWidthUsageResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeMeterRtcRtBandWidthUsageResponseBody body);
@Override
DescribeMeterRtcRtBandWidthUsageResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeMeterRtcRtBandWidthUsageResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeMeterRtcRtBandWidthUsageResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeMeterRtcRtBandWidthUsageResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeMeterRtcRtBandWidthUsageResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeMeterRtcRtBandWidthUsageResponse build() {
return new DescribeMeterRtcRtBandWidthUsageResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcRtBandWidthUsageResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcRtBandWidthUsageResponseBody} extends {@link TeaModel}
*
* <p>DescribeMeterRtcRtBandWidthUsageResponseBody</p>
*/
public class DescribeMeterRtcRtBandWidthUsageResponseBody extends TeaModel {
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("RequestId")
private String requestId;
private DescribeMeterRtcRtBandWidthUsageResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeterRtcRtBandWidthUsageResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeMeterRtcRtBandWidthUsageResponseBody build() {
return new DescribeMeterRtcRtBandWidthUsageResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("AnchorPeakRate")
private Float anchorPeakRate;
@NameInMap("AnchorPeakTs")
private Long anchorPeakTs;
@NameInMap("AudiencePeakRate")
private Float audiencePeakRate;
@NameInMap("AudiencePeakTs")
private Long audiencePeakTs;
@NameInMap("PeakRate")
private Float peakRate;
@NameInMap("PeakTs")
private Long peakTs;
@NameInMap("Timestamp")
private Long timestamp;
private Data(Builder builder) {
this.anchorPeakRate = builder.anchorPeakRate;
this.anchorPeakTs = builder.anchorPeakTs;
this.audiencePeakRate = builder.audiencePeakRate;
this.audiencePeakTs = builder.audiencePeakTs;
this.peakRate = builder.peakRate;
this.peakTs = builder.peakTs;
this.timestamp = builder.timestamp;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return anchorPeakRate
*/
public Float getAnchorPeakRate() {
return this.anchorPeakRate;
}
/**
* @return anchorPeakTs
*/
public Long getAnchorPeakTs() {
return this.anchorPeakTs;
}
/**
* @return audiencePeakRate
*/
public Float getAudiencePeakRate() {
return this.audiencePeakRate;
}
/**
* @return audiencePeakTs
*/
public Long getAudiencePeakTs() {
return this.audiencePeakTs;
}
/**
* @return peakRate
*/
public Float getPeakRate() {
return this.peakRate;
}
/**
* @return peakTs
*/
public Long getPeakTs() {
return this.peakTs;
}
/**
* @return timestamp
*/
public Long getTimestamp() {
return this.timestamp;
}
public static final class Builder {
private Float anchorPeakRate;
private Long anchorPeakTs;
private Float audiencePeakRate;
private Long audiencePeakTs;
private Float peakRate;
private Long peakTs;
private Long timestamp;
/**
* AnchorPeakRate.
*/
public Builder anchorPeakRate(Float anchorPeakRate) {
this.anchorPeakRate = anchorPeakRate;
return this;
}
/**
* AnchorPeakTs.
*/
public Builder anchorPeakTs(Long anchorPeakTs) {
this.anchorPeakTs = anchorPeakTs;
return this;
}
/**
* AudiencePeakRate.
*/
public Builder audiencePeakRate(Float audiencePeakRate) {
this.audiencePeakRate = audiencePeakRate;
return this;
}
/**
* AudiencePeakTs.
*/
public Builder audiencePeakTs(Long audiencePeakTs) {
this.audiencePeakTs = audiencePeakTs;
return this;
}
/**
* PeakRate.
*/
public Builder peakRate(Float peakRate) {
this.peakRate = peakRate;
return this;
}
/**
* PeakTs.
*/
public Builder peakTs(Long peakTs) {
this.peakTs = peakTs;
return this;
}
/**
* Timestamp.
*/
public Builder timestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcRtFlowUsageRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcRtFlowUsageRequest} extends {@link RequestModel}
*
* <p>DescribeMeterRtcRtFlowUsageRequest</p>
*/
public class DescribeMeterRtcRtFlowUsageRequest extends Request {
@Query
@NameInMap("AppId")
private String appId;
@Query
@NameInMap("EndTs")
private Long endTs;
@Query
@NameInMap("Interval")
private Long interval;
@Query
@NameInMap("ServiceArea")
private String serviceArea;
@Query
@NameInMap("StartTs")
private Long startTs;
private DescribeMeterRtcRtFlowUsageRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.endTs = builder.endTs;
this.interval = builder.interval;
this.serviceArea = builder.serviceArea;
this.startTs = builder.startTs;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeterRtcRtFlowUsageRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return endTs
*/
public Long getEndTs() {
return this.endTs;
}
/**
* @return interval
*/
public Long getInterval() {
return this.interval;
}
/**
* @return serviceArea
*/
public String getServiceArea() {
return this.serviceArea;
}
/**
* @return startTs
*/
public Long getStartTs() {
return this.startTs;
}
public static final class Builder extends Request.Builder<DescribeMeterRtcRtFlowUsageRequest, Builder> {
private String appId;
private Long endTs;
private Long interval;
private String serviceArea;
private Long startTs;
private Builder() {
super();
}
private Builder(DescribeMeterRtcRtFlowUsageRequest request) {
super(request);
this.appId = request.appId;
this.endTs = request.endTs;
this.interval = request.interval;
this.serviceArea = request.serviceArea;
this.startTs = request.startTs;
}
/**
* AppId.
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* EndTs.
*/
public Builder endTs(Long endTs) {
this.putQueryParameter("EndTs", endTs);
this.endTs = endTs;
return this;
}
/**
* Interval.
*/
public Builder interval(Long interval) {
this.putQueryParameter("Interval", interval);
this.interval = interval;
return this;
}
/**
* ServiceArea.
*/
public Builder serviceArea(String serviceArea) {
this.putQueryParameter("ServiceArea", serviceArea);
this.serviceArea = serviceArea;
return this;
}
/**
* StartTs.
*/
public Builder startTs(Long startTs) {
this.putQueryParameter("StartTs", startTs);
this.startTs = startTs;
return this;
}
@Override
public DescribeMeterRtcRtFlowUsageRequest build() {
return new DescribeMeterRtcRtFlowUsageRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcRtFlowUsageResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcRtFlowUsageResponse} extends {@link TeaModel}
*
* <p>DescribeMeterRtcRtFlowUsageResponse</p>
*/
public class DescribeMeterRtcRtFlowUsageResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeMeterRtcRtFlowUsageResponseBody body;
private DescribeMeterRtcRtFlowUsageResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeMeterRtcRtFlowUsageResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeMeterRtcRtFlowUsageResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeMeterRtcRtFlowUsageResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeMeterRtcRtFlowUsageResponseBody body);
@Override
DescribeMeterRtcRtFlowUsageResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeMeterRtcRtFlowUsageResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeMeterRtcRtFlowUsageResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeMeterRtcRtFlowUsageResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeMeterRtcRtFlowUsageResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeMeterRtcRtFlowUsageResponse build() {
return new DescribeMeterRtcRtFlowUsageResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcRtFlowUsageResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcRtFlowUsageResponseBody} extends {@link TeaModel}
*
* <p>DescribeMeterRtcRtFlowUsageResponseBody</p>
*/
public class DescribeMeterRtcRtFlowUsageResponseBody extends TeaModel {
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("RequestId")
private String requestId;
private DescribeMeterRtcRtFlowUsageResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeterRtcRtFlowUsageResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeMeterRtcRtFlowUsageResponseBody build() {
return new DescribeMeterRtcRtFlowUsageResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("AnchorFlowValue")
private Float anchorFlowValue;
@NameInMap("AudienceFlowValue")
private Float audienceFlowValue;
@NameInMap("FlowValue")
private Float flowValue;
@NameInMap("Timestamp")
private Long timestamp;
private Data(Builder builder) {
this.anchorFlowValue = builder.anchorFlowValue;
this.audienceFlowValue = builder.audienceFlowValue;
this.flowValue = builder.flowValue;
this.timestamp = builder.timestamp;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return anchorFlowValue
*/
public Float getAnchorFlowValue() {
return this.anchorFlowValue;
}
/**
* @return audienceFlowValue
*/
public Float getAudienceFlowValue() {
return this.audienceFlowValue;
}
/**
* @return flowValue
*/
public Float getFlowValue() {
return this.flowValue;
}
/**
* @return timestamp
*/
public Long getTimestamp() {
return this.timestamp;
}
public static final class Builder {
private Float anchorFlowValue;
private Float audienceFlowValue;
private Float flowValue;
private Long timestamp;
/**
* AnchorFlowValue.
*/
public Builder anchorFlowValue(Float anchorFlowValue) {
this.anchorFlowValue = anchorFlowValue;
return this;
}
/**
* AudienceFlowValue.
*/
public Builder audienceFlowValue(Float audienceFlowValue) {
this.audienceFlowValue = audienceFlowValue;
return this;
}
/**
* FlowValue.
*/
public Builder flowValue(Float flowValue) {
this.flowValue = flowValue;
return this;
}
/**
* Timestamp.
*/
public Builder timestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcUserCntDataRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcUserCntDataRequest} extends {@link RequestModel}
*
* <p>DescribeMeterRtcUserCntDataRequest</p>
*/
public class DescribeMeterRtcUserCntDataRequest extends Request {
@Query
@NameInMap("AppId")
private String appId;
@Query
@NameInMap("EndTs")
private Long endTs;
@Query
@NameInMap("Interval")
private Long interval;
@Query
@NameInMap("ServiceArea")
private String serviceArea;
@Query
@NameInMap("StartTs")
private Long startTs;
private DescribeMeterRtcUserCntDataRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.endTs = builder.endTs;
this.interval = builder.interval;
this.serviceArea = builder.serviceArea;
this.startTs = builder.startTs;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeterRtcUserCntDataRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return endTs
*/
public Long getEndTs() {
return this.endTs;
}
/**
* @return interval
*/
public Long getInterval() {
return this.interval;
}
/**
* @return serviceArea
*/
public String getServiceArea() {
return this.serviceArea;
}
/**
* @return startTs
*/
public Long getStartTs() {
return this.startTs;
}
public static final class Builder extends Request.Builder<DescribeMeterRtcUserCntDataRequest, Builder> {
private String appId;
private Long endTs;
private Long interval;
private String serviceArea;
private Long startTs;
private Builder() {
super();
}
private Builder(DescribeMeterRtcUserCntDataRequest request) {
super(request);
this.appId = request.appId;
this.endTs = request.endTs;
this.interval = request.interval;
this.serviceArea = request.serviceArea;
this.startTs = request.startTs;
}
/**
* AppId.
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* EndTs.
*/
public Builder endTs(Long endTs) {
this.putQueryParameter("EndTs", endTs);
this.endTs = endTs;
return this;
}
/**
* Interval.
*/
public Builder interval(Long interval) {
this.putQueryParameter("Interval", interval);
this.interval = interval;
return this;
}
/**
* ServiceArea.
*/
public Builder serviceArea(String serviceArea) {
this.putQueryParameter("ServiceArea", serviceArea);
this.serviceArea = serviceArea;
return this;
}
/**
* StartTs.
*/
public Builder startTs(Long startTs) {
this.putQueryParameter("StartTs", startTs);
this.startTs = startTs;
return this;
}
@Override
public DescribeMeterRtcUserCntDataRequest build() {
return new DescribeMeterRtcUserCntDataRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcUserCntDataResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcUserCntDataResponse} extends {@link TeaModel}
*
* <p>DescribeMeterRtcUserCntDataResponse</p>
*/
public class DescribeMeterRtcUserCntDataResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeMeterRtcUserCntDataResponseBody body;
private DescribeMeterRtcUserCntDataResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeMeterRtcUserCntDataResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeMeterRtcUserCntDataResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeMeterRtcUserCntDataResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeMeterRtcUserCntDataResponseBody body);
@Override
DescribeMeterRtcUserCntDataResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeMeterRtcUserCntDataResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeMeterRtcUserCntDataResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeMeterRtcUserCntDataResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeMeterRtcUserCntDataResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeMeterRtcUserCntDataResponse build() {
return new DescribeMeterRtcUserCntDataResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeMeterRtcUserCntDataResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeMeterRtcUserCntDataResponseBody} extends {@link TeaModel}
*
* <p>DescribeMeterRtcUserCntDataResponseBody</p>
*/
public class DescribeMeterRtcUserCntDataResponseBody extends TeaModel {
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("RequestId")
private String requestId;
private DescribeMeterRtcUserCntDataResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeterRtcUserCntDataResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeMeterRtcUserCntDataResponseBody build() {
return new DescribeMeterRtcUserCntDataResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("ActiveUserCnt")
private Long activeUserCnt;
@NameInMap("Timestamp")
private Long timestamp;
private Data(Builder builder) {
this.activeUserCnt = builder.activeUserCnt;
this.timestamp = builder.timestamp;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return activeUserCnt
*/
public Long getActiveUserCnt() {
return this.activeUserCnt;
}
/**
* @return timestamp
*/
public Long getTimestamp() {
return this.timestamp;
}
public static final class Builder {
private Long activeUserCnt;
private Long timestamp;
/**
* ActiveUserCnt.
*/
public Builder activeUserCnt(Long activeUserCnt) {
this.activeUserCnt = activeUserCnt;
return this;
}
/**
* Timestamp.
*/
public Builder timestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessionEventDetailRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessionEventDetailRequest} extends {@link RequestModel}
*
* <p>DescribeNewPlayVideoPlaySessionEventDetailRequest</p>
*/
public class DescribeNewPlayVideoPlaySessionEventDetailRequest extends Request {
@Query
@NameInMap("BizDate")
private Long bizDate;
@Query
@NameInMap("InputStatus")
private String inputStatus;
@Query
@NameInMap("PageNum")
@Validation(required = true)
private Integer pageNum;
@Query
@NameInMap("PageSize")
@Validation(required = true)
private Integer pageSize;
@Query
@NameInMap("VPS")
@Validation(required = true)
private String VPS;
private DescribeNewPlayVideoPlaySessionEventDetailRequest(Builder builder) {
super(builder);
this.bizDate = builder.bizDate;
this.inputStatus = builder.inputStatus;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.VPS = builder.VPS;
}
public static Builder builder() {
return new Builder();
}
public static DescribeNewPlayVideoPlaySessionEventDetailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bizDate
*/
public Long getBizDate() {
return this.bizDate;
}
/**
* @return inputStatus
*/
public String getInputStatus() {
return this.inputStatus;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return VPS
*/
public String getVPS() {
return this.VPS;
}
public static final class Builder extends Request.Builder<DescribeNewPlayVideoPlaySessionEventDetailRequest, Builder> {
private Long bizDate;
private String inputStatus;
private Integer pageNum;
private Integer pageSize;
private String VPS;
private Builder() {
super();
}
private Builder(DescribeNewPlayVideoPlaySessionEventDetailRequest request) {
super(request);
this.bizDate = request.bizDate;
this.inputStatus = request.inputStatus;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.VPS = request.VPS;
}
/**
* BizDate.
*/
public Builder bizDate(Long bizDate) {
this.putQueryParameter("BizDate", bizDate);
this.bizDate = bizDate;
return this;
}
/**
* InputStatus.
*/
public Builder inputStatus(String inputStatus) {
this.putQueryParameter("InputStatus", inputStatus);
this.inputStatus = inputStatus;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* VPS.
*/
public Builder VPS(String VPS) {
this.putQueryParameter("VPS", VPS);
this.VPS = VPS;
return this;
}
@Override
public DescribeNewPlayVideoPlaySessionEventDetailRequest build() {
return new DescribeNewPlayVideoPlaySessionEventDetailRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessionEventDetailResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessionEventDetailResponse} extends {@link TeaModel}
*
* <p>DescribeNewPlayVideoPlaySessionEventDetailResponse</p>
*/
public class DescribeNewPlayVideoPlaySessionEventDetailResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeNewPlayVideoPlaySessionEventDetailResponseBody body;
private DescribeNewPlayVideoPlaySessionEventDetailResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeNewPlayVideoPlaySessionEventDetailResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeNewPlayVideoPlaySessionEventDetailResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeNewPlayVideoPlaySessionEventDetailResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeNewPlayVideoPlaySessionEventDetailResponseBody body);
@Override
DescribeNewPlayVideoPlaySessionEventDetailResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeNewPlayVideoPlaySessionEventDetailResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeNewPlayVideoPlaySessionEventDetailResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeNewPlayVideoPlaySessionEventDetailResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeNewPlayVideoPlaySessionEventDetailResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeNewPlayVideoPlaySessionEventDetailResponse build() {
return new DescribeNewPlayVideoPlaySessionEventDetailResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessionEventDetailResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessionEventDetailResponseBody} extends {@link TeaModel}
*
* <p>DescribeNewPlayVideoPlaySessionEventDetailResponseBody</p>
*/
public class DescribeNewPlayVideoPlaySessionEventDetailResponseBody extends TeaModel {
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("PageNum")
private Long pageNum;
@NameInMap("PageSize")
private Long pageSize;
@NameInMap("ReadyTs")
private Long readyTs;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TotalNum")
private Long totalNum;
private DescribeNewPlayVideoPlaySessionEventDetailResponseBody(Builder builder) {
this.data = builder.data;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.readyTs = builder.readyTs;
this.requestId = builder.requestId;
this.totalNum = builder.totalNum;
}
public static Builder builder() {
return new Builder();
}
public static DescribeNewPlayVideoPlaySessionEventDetailResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return pageNum
*/
public Long getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return readyTs
*/
public Long getReadyTs() {
return this.readyTs;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalNum
*/
public Long getTotalNum() {
return this.totalNum;
}
public static final class Builder {
private java.util.List < Data> data;
private Long pageNum;
private Long pageSize;
private Long readyTs;
private String requestId;
private Long totalNum;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Long pageNum) {
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* ReadyTs.
*/
public Builder readyTs(Long readyTs) {
this.readyTs = readyTs;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalNum.
*/
public Builder totalNum(Long totalNum) {
this.totalNum = totalNum;
return this;
}
public DescribeNewPlayVideoPlaySessionEventDetailResponseBody build() {
return new DescribeNewPlayVideoPlaySessionEventDetailResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("BizTime")
private String bizTime;
@NameInMap("Cost")
private String cost;
@NameInMap("Details")
private String details;
@NameInMap("EventName")
private String eventName;
@NameInMap("IP")
private String ip;
@NameInMap("ISP")
private String ISP;
@NameInMap("IsNormal")
private Integer isNormal;
@NameInMap("NetworkType")
private String networkType;
@NameInMap("Region")
private String region;
@NameInMap("Subject")
private String subject;
private Data(Builder builder) {
this.bizTime = builder.bizTime;
this.cost = builder.cost;
this.details = builder.details;
this.eventName = builder.eventName;
this.ip = builder.ip;
this.ISP = builder.ISP;
this.isNormal = builder.isNormal;
this.networkType = builder.networkType;
this.region = builder.region;
this.subject = builder.subject;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return bizTime
*/
public String getBizTime() {
return this.bizTime;
}
/**
* @return cost
*/
public String getCost() {
return this.cost;
}
/**
* @return details
*/
public String getDetails() {
return this.details;
}
/**
* @return eventName
*/
public String getEventName() {
return this.eventName;
}
/**
* @return ip
*/
public String getIp() {
return this.ip;
}
/**
* @return ISP
*/
public String getISP() {
return this.ISP;
}
/**
* @return isNormal
*/
public Integer getIsNormal() {
return this.isNormal;
}
/**
* @return networkType
*/
public String getNetworkType() {
return this.networkType;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return subject
*/
public String getSubject() {
return this.subject;
}
public static final class Builder {
private String bizTime;
private String cost;
private String details;
private String eventName;
private String ip;
private String ISP;
private Integer isNormal;
private String networkType;
private String region;
private String subject;
/**
* BizTime.
*/
public Builder bizTime(String bizTime) {
this.bizTime = bizTime;
return this;
}
/**
* Cost.
*/
public Builder cost(String cost) {
this.cost = cost;
return this;
}
/**
* Details.
*/
public Builder details(String details) {
this.details = details;
return this;
}
/**
* EventName.
*/
public Builder eventName(String eventName) {
this.eventName = eventName;
return this;
}
/**
* IP.
*/
public Builder ip(String ip) {
this.ip = ip;
return this;
}
/**
* ISP.
*/
public Builder ISP(String ISP) {
this.ISP = ISP;
return this;
}
/**
* IsNormal.
*/
public Builder isNormal(Integer isNormal) {
this.isNormal = isNormal;
return this;
}
/**
* NetworkType.
*/
public Builder networkType(String networkType) {
this.networkType = networkType;
return this;
}
/**
* Region.
*/
public Builder region(String region) {
this.region = region;
return this;
}
/**
* Subject.
*/
public Builder subject(String subject) {
this.subject = subject;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessionListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessionListRequest} extends {@link RequestModel}
*
* <p>DescribeNewPlayVideoPlaySessionListRequest</p>
*/
public class DescribeNewPlayVideoPlaySessionListRequest extends Request {
@Query
@NameInMap("EndTimeStamp")
@Validation(required = true)
private String endTimeStamp;
@Query
@NameInMap("InputStatus")
private String inputStatus;
@Query
@NameInMap("Order")
@Validation(required = true)
private String order;
@Query
@NameInMap("PageNum")
@Validation(required = true)
private Integer pageNum;
@Query
@NameInMap("PageSize")
@Validation(required = true)
private Integer pageSize;
@Query
@NameInMap("StartTimeStamp")
@Validation(required = true)
private String startTimeStamp;
@Query
@NameInMap("UniqueId")
private String uniqueId;
private DescribeNewPlayVideoPlaySessionListRequest(Builder builder) {
super(builder);
this.endTimeStamp = builder.endTimeStamp;
this.inputStatus = builder.inputStatus;
this.order = builder.order;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.startTimeStamp = builder.startTimeStamp;
this.uniqueId = builder.uniqueId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeNewPlayVideoPlaySessionListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTimeStamp
*/
public String getEndTimeStamp() {
return this.endTimeStamp;
}
/**
* @return inputStatus
*/
public String getInputStatus() {
return this.inputStatus;
}
/**
* @return order
*/
public String getOrder() {
return this.order;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return startTimeStamp
*/
public String getStartTimeStamp() {
return this.startTimeStamp;
}
/**
* @return uniqueId
*/
public String getUniqueId() {
return this.uniqueId;
}
public static final class Builder extends Request.Builder<DescribeNewPlayVideoPlaySessionListRequest, Builder> {
private String endTimeStamp;
private String inputStatus;
private String order;
private Integer pageNum;
private Integer pageSize;
private String startTimeStamp;
private String uniqueId;
private Builder() {
super();
}
private Builder(DescribeNewPlayVideoPlaySessionListRequest request) {
super(request);
this.endTimeStamp = request.endTimeStamp;
this.inputStatus = request.inputStatus;
this.order = request.order;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.startTimeStamp = request.startTimeStamp;
this.uniqueId = request.uniqueId;
}
/**
* EndTimeStamp.
*/
public Builder endTimeStamp(String endTimeStamp) {
this.putQueryParameter("EndTimeStamp", endTimeStamp);
this.endTimeStamp = endTimeStamp;
return this;
}
/**
* InputStatus.
*/
public Builder inputStatus(String inputStatus) {
this.putQueryParameter("InputStatus", inputStatus);
this.inputStatus = inputStatus;
return this;
}
/**
* Order.
*/
public Builder order(String order) {
this.putQueryParameter("Order", order);
this.order = order;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* StartTimeStamp.
*/
public Builder startTimeStamp(String startTimeStamp) {
this.putQueryParameter("StartTimeStamp", startTimeStamp);
this.startTimeStamp = startTimeStamp;
return this;
}
/**
* UniqueId.
*/
public Builder uniqueId(String uniqueId) {
this.putQueryParameter("UniqueId", uniqueId);
this.uniqueId = uniqueId;
return this;
}
@Override
public DescribeNewPlayVideoPlaySessionListRequest build() {
return new DescribeNewPlayVideoPlaySessionListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessionListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessionListResponse} extends {@link TeaModel}
*
* <p>DescribeNewPlayVideoPlaySessionListResponse</p>
*/
public class DescribeNewPlayVideoPlaySessionListResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeNewPlayVideoPlaySessionListResponseBody body;
private DescribeNewPlayVideoPlaySessionListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeNewPlayVideoPlaySessionListResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeNewPlayVideoPlaySessionListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeNewPlayVideoPlaySessionListResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeNewPlayVideoPlaySessionListResponseBody body);
@Override
DescribeNewPlayVideoPlaySessionListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeNewPlayVideoPlaySessionListResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeNewPlayVideoPlaySessionListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeNewPlayVideoPlaySessionListResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeNewPlayVideoPlaySessionListResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeNewPlayVideoPlaySessionListResponse build() {
return new DescribeNewPlayVideoPlaySessionListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessionListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessionListResponseBody} extends {@link TeaModel}
*
* <p>DescribeNewPlayVideoPlaySessionListResponseBody</p>
*/
public class DescribeNewPlayVideoPlaySessionListResponseBody extends TeaModel {
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("PageNum")
private Long pageNum;
@NameInMap("PageSize")
private Long pageSize;
@NameInMap("ReadyTs")
private Long readyTs;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TotalNum")
private Long totalNum;
private DescribeNewPlayVideoPlaySessionListResponseBody(Builder builder) {
this.data = builder.data;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.readyTs = builder.readyTs;
this.requestId = builder.requestId;
this.totalNum = builder.totalNum;
}
public static Builder builder() {
return new Builder();
}
public static DescribeNewPlayVideoPlaySessionListResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return pageNum
*/
public Long getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return readyTs
*/
public Long getReadyTs() {
return this.readyTs;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalNum
*/
public Long getTotalNum() {
return this.totalNum;
}
public static final class Builder {
private java.util.List < Data> data;
private Long pageNum;
private Long pageSize;
private Long readyTs;
private String requestId;
private Long totalNum;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Long pageNum) {
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* ReadyTs.
*/
public Builder readyTs(Long readyTs) {
this.readyTs = readyTs;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalNum.
*/
public Builder totalNum(Long totalNum) {
this.totalNum = totalNum;
return this;
}
public DescribeNewPlayVideoPlaySessionListResponseBody build() {
return new DescribeNewPlayVideoPlaySessionListResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("GmtModifiedTime")
private String gmtModifiedTime;
@NameInMap("Status")
private String status;
@NameInMap("TraceId")
private String traceId;
@NameInMap("UUID")
private String UUID;
@NameInMap("VPS")
private String VPS;
private Data(Builder builder) {
this.gmtModifiedTime = builder.gmtModifiedTime;
this.status = builder.status;
this.traceId = builder.traceId;
this.UUID = builder.UUID;
this.VPS = builder.VPS;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return gmtModifiedTime
*/
public String getGmtModifiedTime() {
return this.gmtModifiedTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return traceId
*/
public String getTraceId() {
return this.traceId;
}
/**
* @return UUID
*/
public String getUUID() {
return this.UUID;
}
/**
* @return VPS
*/
public String getVPS() {
return this.VPS;
}
public static final class Builder {
private String gmtModifiedTime;
private String status;
private String traceId;
private String UUID;
private String VPS;
/**
* GmtModifiedTime.
*/
public Builder gmtModifiedTime(String gmtModifiedTime) {
this.gmtModifiedTime = gmtModifiedTime;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* TraceId.
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
/**
* UUID.
*/
public Builder UUID(String UUID) {
this.UUID = UUID;
return this;
}
/**
* VPS.
*/
public Builder VPS(String VPS) {
this.VPS = VPS;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessioninfoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessioninfoRequest} extends {@link RequestModel}
*
* <p>DescribeNewPlayVideoPlaySessioninfoRequest</p>
*/
public class DescribeNewPlayVideoPlaySessioninfoRequest extends Request {
@Query
@NameInMap("VPS")
private String VPS;
private DescribeNewPlayVideoPlaySessioninfoRequest(Builder builder) {
super(builder);
this.VPS = builder.VPS;
}
public static Builder builder() {
return new Builder();
}
public static DescribeNewPlayVideoPlaySessioninfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return VPS
*/
public String getVPS() {
return this.VPS;
}
public static final class Builder extends Request.Builder<DescribeNewPlayVideoPlaySessioninfoRequest, Builder> {
private String VPS;
private Builder() {
super();
}
private Builder(DescribeNewPlayVideoPlaySessioninfoRequest request) {
super(request);
this.VPS = request.VPS;
}
/**
* VPS.
*/
public Builder VPS(String VPS) {
this.putQueryParameter("VPS", VPS);
this.VPS = VPS;
return this;
}
@Override
public DescribeNewPlayVideoPlaySessioninfoRequest build() {
return new DescribeNewPlayVideoPlaySessioninfoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessioninfoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessioninfoResponse} extends {@link TeaModel}
*
* <p>DescribeNewPlayVideoPlaySessioninfoResponse</p>
*/
public class DescribeNewPlayVideoPlaySessioninfoResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeNewPlayVideoPlaySessioninfoResponseBody body;
private DescribeNewPlayVideoPlaySessioninfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeNewPlayVideoPlaySessioninfoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeNewPlayVideoPlaySessioninfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeNewPlayVideoPlaySessioninfoResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeNewPlayVideoPlaySessioninfoResponseBody body);
@Override
DescribeNewPlayVideoPlaySessioninfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeNewPlayVideoPlaySessioninfoResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeNewPlayVideoPlaySessioninfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeNewPlayVideoPlaySessioninfoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeNewPlayVideoPlaySessioninfoResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeNewPlayVideoPlaySessioninfoResponse build() {
return new DescribeNewPlayVideoPlaySessioninfoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425 | java-sources/com/aliyun/alibabacloud-vdmeter20210425/1.0.0/com/aliyun/sdk/service/vdmeter20210425/models/DescribeNewPlayVideoPlaySessioninfoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vdmeter20210425.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeNewPlayVideoPlaySessioninfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeNewPlayVideoPlaySessioninfoResponseBody</p>
*/
public class DescribeNewPlayVideoPlaySessioninfoResponseBody extends TeaModel {
@NameInMap("Data")
private java.util.List < Data> data;
@NameInMap("RequestId")
private String requestId;
private DescribeNewPlayVideoPlaySessioninfoResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeNewPlayVideoPlaySessioninfoResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeNewPlayVideoPlaySessioninfoResponseBody build() {
return new DescribeNewPlayVideoPlaySessioninfoResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("AppId")
private String appId;
@NameInMap("AppName")
private String appName;
@NameInMap("AppVersion")
private String appVersion;
@NameInMap("DeviceBrand")
private String deviceBrand;
@NameInMap("DeviceModel")
private String deviceModel;
@NameInMap("OS")
private String os;
@NameInMap("OV")
private String ov;
@NameInMap("TerminalType")
private String terminalType;
@NameInMap("VPS")
private String VPS;
private Data(Builder builder) {
this.appId = builder.appId;
this.appName = builder.appName;
this.appVersion = builder.appVersion;
this.deviceBrand = builder.deviceBrand;
this.deviceModel = builder.deviceModel;
this.os = builder.os;
this.ov = builder.ov;
this.terminalType = builder.terminalType;
this.VPS = builder.VPS;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return appVersion
*/
public String getAppVersion() {
return this.appVersion;
}
/**
* @return deviceBrand
*/
public String getDeviceBrand() {
return this.deviceBrand;
}
/**
* @return deviceModel
*/
public String getDeviceModel() {
return this.deviceModel;
}
/**
* @return os
*/
public String getOs() {
return this.os;
}
/**
* @return ov
*/
public String getOv() {
return this.ov;
}
/**
* @return terminalType
*/
public String getTerminalType() {
return this.terminalType;
}
/**
* @return VPS
*/
public String getVPS() {
return this.VPS;
}
public static final class Builder {
private String appId;
private String appName;
private String appVersion;
private String deviceBrand;
private String deviceModel;
private String os;
private String ov;
private String terminalType;
private String VPS;
/**
* AppId.
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* AppVersion.
*/
public Builder appVersion(String appVersion) {
this.appVersion = appVersion;
return this;
}
/**
* DeviceBrand.
*/
public Builder deviceBrand(String deviceBrand) {
this.deviceBrand = deviceBrand;
return this;
}
/**
* DeviceModel.
*/
public Builder deviceModel(String deviceModel) {
this.deviceModel = deviceModel;
return this;
}
/**
* OS.
*/
public Builder os(String os) {
this.os = os;
return this;
}
/**
* OV.
*/
public Builder ov(String ov) {
this.ov = ov;
return this;
}
/**
* TerminalType.
*/
public Builder terminalType(String terminalType) {
this.terminalType = terminalType;
return this;
}
/**
* VPS.
*/
public Builder VPS(String VPS) {
this.VPS = VPS;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/AsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.ververica20220718.models.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import java.util.concurrent.CompletableFuture;
public interface AsyncClient extends SdkAutoCloseable {
static DefaultAsyncClientBuilder builder() {
return new DefaultAsyncClientBuilder();
}
static AsyncClient create() {
return builder().build();
}
/**
* @param request the request parameters of ApplyScheduledPlan ApplyScheduledPlanRequest
* @return ApplyScheduledPlanResponse
*/
CompletableFuture<ApplyScheduledPlanResponse> applyScheduledPlan(ApplyScheduledPlanRequest request);
/**
* @param request the request parameters of CreateDeployment CreateDeploymentRequest
* @return CreateDeploymentResponse
*/
CompletableFuture<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest request);
/**
* @param request the request parameters of CreateDeploymentDraft CreateDeploymentDraftRequest
* @return CreateDeploymentDraftResponse
*/
CompletableFuture<CreateDeploymentDraftResponse> createDeploymentDraft(CreateDeploymentDraftRequest request);
/**
* @param request the request parameters of CreateDeploymentTarget CreateDeploymentTargetRequest
* @return CreateDeploymentTargetResponse
*/
CompletableFuture<CreateDeploymentTargetResponse> createDeploymentTarget(CreateDeploymentTargetRequest request);
/**
* @param request the request parameters of CreateFolder CreateFolderRequest
* @return CreateFolderResponse
*/
CompletableFuture<CreateFolderResponse> createFolder(CreateFolderRequest request);
/**
* @param request the request parameters of CreateMember CreateMemberRequest
* @return CreateMemberResponse
*/
CompletableFuture<CreateMemberResponse> createMember(CreateMemberRequest request);
/**
* @param request the request parameters of CreateSavepoint CreateSavepointRequest
* @return CreateSavepointResponse
*/
CompletableFuture<CreateSavepointResponse> createSavepoint(CreateSavepointRequest request);
/**
* @param request the request parameters of CreateScheduledPlan CreateScheduledPlanRequest
* @return CreateScheduledPlanResponse
*/
CompletableFuture<CreateScheduledPlanResponse> createScheduledPlan(CreateScheduledPlanRequest request);
/**
* @param request the request parameters of CreateSessionCluster CreateSessionClusterRequest
* @return CreateSessionClusterResponse
*/
CompletableFuture<CreateSessionClusterResponse> createSessionCluster(CreateSessionClusterRequest request);
/**
* @param request the request parameters of CreateUdfArtifact CreateUdfArtifactRequest
* @return CreateUdfArtifactResponse
*/
CompletableFuture<CreateUdfArtifactResponse> createUdfArtifact(CreateUdfArtifactRequest request);
/**
* @param request the request parameters of CreateVariable CreateVariableRequest
* @return CreateVariableResponse
*/
CompletableFuture<CreateVariableResponse> createVariable(CreateVariableRequest request);
/**
* @param request the request parameters of DeleteCustomConnector DeleteCustomConnectorRequest
* @return DeleteCustomConnectorResponse
*/
CompletableFuture<DeleteCustomConnectorResponse> deleteCustomConnector(DeleteCustomConnectorRequest request);
/**
* @param request the request parameters of DeleteDeployment DeleteDeploymentRequest
* @return DeleteDeploymentResponse
*/
CompletableFuture<DeleteDeploymentResponse> deleteDeployment(DeleteDeploymentRequest request);
/**
* @param request the request parameters of DeleteDeploymentDraft DeleteDeploymentDraftRequest
* @return DeleteDeploymentDraftResponse
*/
CompletableFuture<DeleteDeploymentDraftResponse> deleteDeploymentDraft(DeleteDeploymentDraftRequest request);
/**
* @param request the request parameters of DeleteDeploymentTarget DeleteDeploymentTargetRequest
* @return DeleteDeploymentTargetResponse
*/
CompletableFuture<DeleteDeploymentTargetResponse> deleteDeploymentTarget(DeleteDeploymentTargetRequest request);
/**
* @param request the request parameters of DeleteFolder DeleteFolderRequest
* @return DeleteFolderResponse
*/
CompletableFuture<DeleteFolderResponse> deleteFolder(DeleteFolderRequest request);
/**
* @param request the request parameters of DeleteJob DeleteJobRequest
* @return DeleteJobResponse
*/
CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest request);
/**
* @param request the request parameters of DeleteMember DeleteMemberRequest
* @return DeleteMemberResponse
*/
CompletableFuture<DeleteMemberResponse> deleteMember(DeleteMemberRequest request);
/**
* @param request the request parameters of DeleteSavepoint DeleteSavepointRequest
* @return DeleteSavepointResponse
*/
CompletableFuture<DeleteSavepointResponse> deleteSavepoint(DeleteSavepointRequest request);
/**
* @param request the request parameters of DeleteScheduledPlan DeleteScheduledPlanRequest
* @return DeleteScheduledPlanResponse
*/
CompletableFuture<DeleteScheduledPlanResponse> deleteScheduledPlan(DeleteScheduledPlanRequest request);
/**
* @param request the request parameters of DeleteSessionCluster DeleteSessionClusterRequest
* @return DeleteSessionClusterResponse
*/
CompletableFuture<DeleteSessionClusterResponse> deleteSessionCluster(DeleteSessionClusterRequest request);
/**
* @param request the request parameters of DeleteUdfArtifact DeleteUdfArtifactRequest
* @return DeleteUdfArtifactResponse
*/
CompletableFuture<DeleteUdfArtifactResponse> deleteUdfArtifact(DeleteUdfArtifactRequest request);
/**
* @param request the request parameters of DeleteUdfFunction DeleteUdfFunctionRequest
* @return DeleteUdfFunctionResponse
*/
CompletableFuture<DeleteUdfFunctionResponse> deleteUdfFunction(DeleteUdfFunctionRequest request);
/**
* @param request the request parameters of DeleteVariable DeleteVariableRequest
* @return DeleteVariableResponse
*/
CompletableFuture<DeleteVariableResponse> deleteVariable(DeleteVariableRequest request);
/**
* @param request the request parameters of DeployDeploymentDraftAsync DeployDeploymentDraftAsyncRequest
* @return DeployDeploymentDraftAsyncResponse
*/
CompletableFuture<DeployDeploymentDraftAsyncResponse> deployDeploymentDraftAsync(DeployDeploymentDraftAsyncRequest request);
/**
* @param request the request parameters of ExecuteSqlStatement ExecuteSqlStatementRequest
* @return ExecuteSqlStatementResponse
*/
CompletableFuture<ExecuteSqlStatementResponse> executeSqlStatement(ExecuteSqlStatementRequest request);
/**
* @param request the request parameters of FlinkApiProxy FlinkApiProxyRequest
* @return FlinkApiProxyResponse
*/
CompletableFuture<FlinkApiProxyResponse> flinkApiProxy(FlinkApiProxyRequest request);
/**
* @param request the request parameters of GenerateResourcePlanWithFlinkConfAsync GenerateResourcePlanWithFlinkConfAsyncRequest
* @return GenerateResourcePlanWithFlinkConfAsyncResponse
*/
CompletableFuture<GenerateResourcePlanWithFlinkConfAsyncResponse> generateResourcePlanWithFlinkConfAsync(GenerateResourcePlanWithFlinkConfAsyncRequest request);
/**
* @param request the request parameters of GetAppliedScheduledPlan GetAppliedScheduledPlanRequest
* @return GetAppliedScheduledPlanResponse
*/
CompletableFuture<GetAppliedScheduledPlanResponse> getAppliedScheduledPlan(GetAppliedScheduledPlanRequest request);
/**
* @param request the request parameters of GetCatalogs GetCatalogsRequest
* @return GetCatalogsResponse
*/
CompletableFuture<GetCatalogsResponse> getCatalogs(GetCatalogsRequest request);
/**
* @param request the request parameters of GetDatabases GetDatabasesRequest
* @return GetDatabasesResponse
*/
CompletableFuture<GetDatabasesResponse> getDatabases(GetDatabasesRequest request);
/**
* @param request the request parameters of GetDeployDeploymentDraftResult GetDeployDeploymentDraftResultRequest
* @return GetDeployDeploymentDraftResultResponse
*/
CompletableFuture<GetDeployDeploymentDraftResultResponse> getDeployDeploymentDraftResult(GetDeployDeploymentDraftResultRequest request);
/**
* @param request the request parameters of GetDeployment GetDeploymentRequest
* @return GetDeploymentResponse
*/
CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest request);
/**
* @param request the request parameters of GetDeploymentDraft GetDeploymentDraftRequest
* @return GetDeploymentDraftResponse
*/
CompletableFuture<GetDeploymentDraftResponse> getDeploymentDraft(GetDeploymentDraftRequest request);
/**
* @param request the request parameters of GetDeploymentDraftLock GetDeploymentDraftLockRequest
* @return GetDeploymentDraftLockResponse
*/
CompletableFuture<GetDeploymentDraftLockResponse> getDeploymentDraftLock(GetDeploymentDraftLockRequest request);
/**
* @param request the request parameters of GetEvents GetEventsRequest
* @return GetEventsResponse
*/
CompletableFuture<GetEventsResponse> getEvents(GetEventsRequest request);
/**
* @param request the request parameters of GetFolder GetFolderRequest
* @return GetFolderResponse
*/
CompletableFuture<GetFolderResponse> getFolder(GetFolderRequest request);
/**
* @param request the request parameters of GetGenerateResourcePlanResult GetGenerateResourcePlanResultRequest
* @return GetGenerateResourcePlanResultResponse
*/
CompletableFuture<GetGenerateResourcePlanResultResponse> getGenerateResourcePlanResult(GetGenerateResourcePlanResultRequest request);
/**
* @param request the request parameters of GetHotUpdateJobResult GetHotUpdateJobResultRequest
* @return GetHotUpdateJobResultResponse
*/
CompletableFuture<GetHotUpdateJobResultResponse> getHotUpdateJobResult(GetHotUpdateJobResultRequest request);
/**
* @param request the request parameters of GetJob GetJobRequest
* @return GetJobResponse
*/
CompletableFuture<GetJobResponse> getJob(GetJobRequest request);
/**
* @param request the request parameters of GetJobDiagnosis GetJobDiagnosisRequest
* @return GetJobDiagnosisResponse
*/
CompletableFuture<GetJobDiagnosisResponse> getJobDiagnosis(GetJobDiagnosisRequest request);
/**
* @param request the request parameters of GetLatestJobStartLog GetLatestJobStartLogRequest
* @return GetLatestJobStartLogResponse
*/
CompletableFuture<GetLatestJobStartLogResponse> getLatestJobStartLog(GetLatestJobStartLogRequest request);
/**
* @param request the request parameters of GetLineageInfo GetLineageInfoRequest
* @return GetLineageInfoResponse
*/
CompletableFuture<GetLineageInfoResponse> getLineageInfo(GetLineageInfoRequest request);
/**
* @param request the request parameters of GetMember GetMemberRequest
* @return GetMemberResponse
*/
CompletableFuture<GetMemberResponse> getMember(GetMemberRequest request);
/**
* @param request the request parameters of GetSavepoint GetSavepointRequest
* @return GetSavepointResponse
*/
CompletableFuture<GetSavepointResponse> getSavepoint(GetSavepointRequest request);
/**
* @param request the request parameters of GetSessionCluster GetSessionClusterRequest
* @return GetSessionClusterResponse
*/
CompletableFuture<GetSessionClusterResponse> getSessionCluster(GetSessionClusterRequest request);
/**
* @param request the request parameters of GetTables GetTablesRequest
* @return GetTablesResponse
*/
CompletableFuture<GetTablesResponse> getTables(GetTablesRequest request);
/**
* @param request the request parameters of GetUdfArtifacts GetUdfArtifactsRequest
* @return GetUdfArtifactsResponse
*/
CompletableFuture<GetUdfArtifactsResponse> getUdfArtifacts(GetUdfArtifactsRequest request);
/**
* @param request the request parameters of HotUpdateJob HotUpdateJobRequest
* @return HotUpdateJobResponse
*/
CompletableFuture<HotUpdateJobResponse> hotUpdateJob(HotUpdateJobRequest request);
/**
* @param request the request parameters of ListCustomConnectors ListCustomConnectorsRequest
* @return ListCustomConnectorsResponse
*/
CompletableFuture<ListCustomConnectorsResponse> listCustomConnectors(ListCustomConnectorsRequest request);
/**
* @param request the request parameters of ListDeploymentDrafts ListDeploymentDraftsRequest
* @return ListDeploymentDraftsResponse
*/
CompletableFuture<ListDeploymentDraftsResponse> listDeploymentDrafts(ListDeploymentDraftsRequest request);
/**
* @param request the request parameters of ListDeploymentTargets ListDeploymentTargetsRequest
* @return ListDeploymentTargetsResponse
*/
CompletableFuture<ListDeploymentTargetsResponse> listDeploymentTargets(ListDeploymentTargetsRequest request);
/**
* @param request the request parameters of ListDeployments ListDeploymentsRequest
* @return ListDeploymentsResponse
*/
CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request);
/**
* @param request the request parameters of ListEditableNamespace ListEditableNamespaceRequest
* @return ListEditableNamespaceResponse
*/
CompletableFuture<ListEditableNamespaceResponse> listEditableNamespace(ListEditableNamespaceRequest request);
/**
* @param request the request parameters of ListEngineVersionMetadata ListEngineVersionMetadataRequest
* @return ListEngineVersionMetadataResponse
*/
CompletableFuture<ListEngineVersionMetadataResponse> listEngineVersionMetadata(ListEngineVersionMetadataRequest request);
/**
* @param request the request parameters of ListJobs ListJobsRequest
* @return ListJobsResponse
*/
CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest request);
/**
* @param request the request parameters of ListMembers ListMembersRequest
* @return ListMembersResponse
*/
CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest request);
/**
* @param request the request parameters of ListSavepoints ListSavepointsRequest
* @return ListSavepointsResponse
*/
CompletableFuture<ListSavepointsResponse> listSavepoints(ListSavepointsRequest request);
/**
* @param request the request parameters of ListScheduledPlan ListScheduledPlanRequest
* @return ListScheduledPlanResponse
*/
CompletableFuture<ListScheduledPlanResponse> listScheduledPlan(ListScheduledPlanRequest request);
/**
* @param request the request parameters of ListScheduledPlanExecutedHistory ListScheduledPlanExecutedHistoryRequest
* @return ListScheduledPlanExecutedHistoryResponse
*/
CompletableFuture<ListScheduledPlanExecutedHistoryResponse> listScheduledPlanExecutedHistory(ListScheduledPlanExecutedHistoryRequest request);
/**
* @param request the request parameters of ListSessionClusters ListSessionClustersRequest
* @return ListSessionClustersResponse
*/
CompletableFuture<ListSessionClustersResponse> listSessionClusters(ListSessionClustersRequest request);
/**
* @param request the request parameters of ListVariables ListVariablesRequest
* @return ListVariablesResponse
*/
CompletableFuture<ListVariablesResponse> listVariables(ListVariablesRequest request);
/**
* @param request the request parameters of RegisterCustomConnector RegisterCustomConnectorRequest
* @return RegisterCustomConnectorResponse
*/
CompletableFuture<RegisterCustomConnectorResponse> registerCustomConnector(RegisterCustomConnectorRequest request);
/**
* @param request the request parameters of RegisterUdfFunction RegisterUdfFunctionRequest
* @return RegisterUdfFunctionResponse
*/
CompletableFuture<RegisterUdfFunctionResponse> registerUdfFunction(RegisterUdfFunctionRequest request);
/**
* @deprecated OpenAPI StartJob is deprecated, please use ververica::2022-07-18::StartJobWithParams instead. * @param request the request parameters of StartJob StartJobRequest
* @return StartJobResponse
*/
@Deprecated
CompletableFuture<StartJobResponse> startJob(StartJobRequest request);
/**
* @param request the request parameters of StartJobWithParams StartJobWithParamsRequest
* @return StartJobWithParamsResponse
*/
CompletableFuture<StartJobWithParamsResponse> startJobWithParams(StartJobWithParamsRequest request);
/**
* @param request the request parameters of StartSessionCluster StartSessionClusterRequest
* @return StartSessionClusterResponse
*/
CompletableFuture<StartSessionClusterResponse> startSessionCluster(StartSessionClusterRequest request);
/**
* @param request the request parameters of StopApplyScheduledPlan StopApplyScheduledPlanRequest
* @return StopApplyScheduledPlanResponse
*/
CompletableFuture<StopApplyScheduledPlanResponse> stopApplyScheduledPlan(StopApplyScheduledPlanRequest request);
/**
* @param request the request parameters of StopJob StopJobRequest
* @return StopJobResponse
*/
CompletableFuture<StopJobResponse> stopJob(StopJobRequest request);
/**
* @param request the request parameters of StopSessionCluster StopSessionClusterRequest
* @return StopSessionClusterResponse
*/
CompletableFuture<StopSessionClusterResponse> stopSessionCluster(StopSessionClusterRequest request);
/**
* @param request the request parameters of UpdateDeployment UpdateDeploymentRequest
* @return UpdateDeploymentResponse
*/
CompletableFuture<UpdateDeploymentResponse> updateDeployment(UpdateDeploymentRequest request);
/**
* @param request the request parameters of UpdateDeploymentDraft UpdateDeploymentDraftRequest
* @return UpdateDeploymentDraftResponse
*/
CompletableFuture<UpdateDeploymentDraftResponse> updateDeploymentDraft(UpdateDeploymentDraftRequest request);
/**
* @param request the request parameters of UpdateDeploymentTarget UpdateDeploymentTargetRequest
* @return UpdateDeploymentTargetResponse
*/
CompletableFuture<UpdateDeploymentTargetResponse> updateDeploymentTarget(UpdateDeploymentTargetRequest request);
/**
* @param request the request parameters of UpdateFolder UpdateFolderRequest
* @return UpdateFolderResponse
*/
CompletableFuture<UpdateFolderResponse> updateFolder(UpdateFolderRequest request);
/**
* @param request the request parameters of UpdateMember UpdateMemberRequest
* @return UpdateMemberResponse
*/
CompletableFuture<UpdateMemberResponse> updateMember(UpdateMemberRequest request);
/**
* @param request the request parameters of UpdateScheduledPlan UpdateScheduledPlanRequest
* @return UpdateScheduledPlanResponse
*/
CompletableFuture<UpdateScheduledPlanResponse> updateScheduledPlan(UpdateScheduledPlanRequest request);
/**
* @param request the request parameters of UpdateSessionCluster UpdateSessionClusterRequest
* @return UpdateSessionClusterResponse
*/
CompletableFuture<UpdateSessionClusterResponse> updateSessionCluster(UpdateSessionClusterRequest request);
/**
* @param request the request parameters of UpdateUdfArtifact UpdateUdfArtifactRequest
* @return UpdateUdfArtifactResponse
*/
CompletableFuture<UpdateUdfArtifactResponse> updateUdfArtifact(UpdateUdfArtifactRequest request);
/**
* @param request the request parameters of UpdateVariable UpdateVariableRequest
* @return UpdateVariableResponse
*/
CompletableFuture<UpdateVariableResponse> updateVariable(UpdateVariableRequest request);
/**
* @param request the request parameters of ValidateSqlStatement ValidateSqlStatementRequest
* @return ValidateSqlStatementResponse
*/
CompletableFuture<ValidateSqlStatementResponse> validateSqlStatement(ValidateSqlStatementRequest request);
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/DefaultAsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718;
import com.aliyun.core.http.*;
import com.aliyun.sdk.service.ververica20220718.models.*;
import darabonba.core.utils.*;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import java.util.concurrent.CompletableFuture;
/**
* <p>Main client.</p>
*/
public final class DefaultAsyncClient implements AsyncClient {
protected final String product;
protected final String version;
protected final String endpointRule;
protected final java.util.Map<String, String> endpointMap;
protected final TeaRequest REQUEST;
protected final TeaAsyncHandler handler;
protected DefaultAsyncClient(ClientConfiguration configuration) {
this.handler = new TeaAsyncHandler(configuration);
this.product = "ververica";
this.version = "2022-07-18";
this.endpointRule = "regional";
this.endpointMap = new java.util.HashMap<>();
this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version);
}
@Override
public void close() {
this.handler.close();
}
/**
* @param request the request parameters of ApplyScheduledPlan ApplyScheduledPlanRequest
* @return ApplyScheduledPlanResponse
*/
@Override
public CompletableFuture<ApplyScheduledPlanResponse> applyScheduledPlan(ApplyScheduledPlanRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ApplyScheduledPlan").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}:apply").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ApplyScheduledPlanResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ApplyScheduledPlanResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateDeployment CreateDeploymentRequest
* @return CreateDeploymentResponse
*/
@Override
public CompletableFuture<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateDeployment").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/deployments").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDeploymentResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDeploymentResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateDeploymentDraft CreateDeploymentDraftRequest
* @return CreateDeploymentDraftResponse
*/
@Override
public CompletableFuture<CreateDeploymentDraftResponse> createDeploymentDraft(CreateDeploymentDraftRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateDeploymentDraft").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDeploymentDraftResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDeploymentDraftResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateDeploymentTarget CreateDeploymentTargetRequest
* @return CreateDeploymentTargetResponse
*/
@Override
public CompletableFuture<CreateDeploymentTargetResponse> createDeploymentTarget(CreateDeploymentTargetRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateDeploymentTarget").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/deployment-targets").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDeploymentTargetResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDeploymentTargetResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateFolder CreateFolderRequest
* @return CreateFolderResponse
*/
@Override
public CompletableFuture<CreateFolderResponse> createFolder(CreateFolderRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateFolder").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/folder").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateFolderResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateFolderResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateMember CreateMemberRequest
* @return CreateMemberResponse
*/
@Override
public CompletableFuture<CreateMemberResponse> createMember(CreateMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateMember").setMethod(HttpMethod.POST).setPathRegex("/gateway/v2/namespaces/{namespace}/members").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateSavepoint CreateSavepointRequest
* @return CreateSavepointResponse
*/
@Override
public CompletableFuture<CreateSavepointResponse> createSavepoint(CreateSavepointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateSavepoint").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/savepoints").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateSavepointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateSavepointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateScheduledPlan CreateScheduledPlanRequest
* @return CreateScheduledPlanResponse
*/
@Override
public CompletableFuture<CreateScheduledPlanResponse> createScheduledPlan(CreateScheduledPlanRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateScheduledPlan").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/scheduled-plans").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateScheduledPlanResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateScheduledPlanResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateSessionCluster CreateSessionClusterRequest
* @return CreateSessionClusterResponse
*/
@Override
public CompletableFuture<CreateSessionClusterResponse> createSessionCluster(CreateSessionClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateSessionCluster").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/sessionclusters").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateSessionClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateSessionClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateUdfArtifact CreateUdfArtifactRequest
* @return CreateUdfArtifactResponse
*/
@Override
public CompletableFuture<CreateUdfArtifactResponse> createUdfArtifact(CreateUdfArtifactRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateUdfArtifact").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/udfartifacts").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateUdfArtifactResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateUdfArtifactResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateVariable CreateVariableRequest
* @return CreateVariableResponse
*/
@Override
public CompletableFuture<CreateVariableResponse> createVariable(CreateVariableRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("CreateVariable").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/variables").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateVariableResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateVariableResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteCustomConnector DeleteCustomConnectorRequest
* @return DeleteCustomConnectorResponse
*/
@Override
public CompletableFuture<DeleteCustomConnectorResponse> deleteCustomConnector(DeleteCustomConnectorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteCustomConnector").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/connectors/{connectorName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteCustomConnectorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteCustomConnectorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteDeployment DeleteDeploymentRequest
* @return DeleteDeploymentResponse
*/
@Override
public CompletableFuture<DeleteDeploymentResponse> deleteDeployment(DeleteDeploymentRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteDeployment").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/deployments/{deploymentId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDeploymentResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDeploymentResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteDeploymentDraft DeleteDeploymentDraftRequest
* @return DeleteDeploymentDraftResponse
*/
@Override
public CompletableFuture<DeleteDeploymentDraftResponse> deleteDeploymentDraft(DeleteDeploymentDraftRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteDeploymentDraft").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDeploymentDraftResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDeploymentDraftResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteDeploymentTarget DeleteDeploymentTargetRequest
* @return DeleteDeploymentTargetResponse
*/
@Override
public CompletableFuture<DeleteDeploymentTargetResponse> deleteDeploymentTarget(DeleteDeploymentTargetRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteDeploymentTarget").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/deployment-targets/{deploymentTargetName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDeploymentTargetResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDeploymentTargetResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteFolder DeleteFolderRequest
* @return DeleteFolderResponse
*/
@Override
public CompletableFuture<DeleteFolderResponse> deleteFolder(DeleteFolderRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteFolder").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/folder/{folderId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteFolderResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteFolderResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteJob DeleteJobRequest
* @return DeleteJobResponse
*/
@Override
public CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteJob").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/jobs/{jobId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteJobResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteJobResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteMember DeleteMemberRequest
* @return DeleteMemberResponse
*/
@Override
public CompletableFuture<DeleteMemberResponse> deleteMember(DeleteMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteMember").setMethod(HttpMethod.DELETE).setPathRegex("/gateway/v2/namespaces/{namespace}/members/{member}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteSavepoint DeleteSavepointRequest
* @return DeleteSavepointResponse
*/
@Override
public CompletableFuture<DeleteSavepointResponse> deleteSavepoint(DeleteSavepointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteSavepoint").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/savepoints/{savepointId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSavepointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteSavepointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteScheduledPlan DeleteScheduledPlanRequest
* @return DeleteScheduledPlanResponse
*/
@Override
public CompletableFuture<DeleteScheduledPlanResponse> deleteScheduledPlan(DeleteScheduledPlanRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteScheduledPlan").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteScheduledPlanResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteScheduledPlanResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteSessionCluster DeleteSessionClusterRequest
* @return DeleteSessionClusterResponse
*/
@Override
public CompletableFuture<DeleteSessionClusterResponse> deleteSessionCluster(DeleteSessionClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteSessionCluster").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSessionClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteSessionClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteUdfArtifact DeleteUdfArtifactRequest
* @return DeleteUdfArtifactResponse
*/
@Override
public CompletableFuture<DeleteUdfArtifactResponse> deleteUdfArtifact(DeleteUdfArtifactRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteUdfArtifact").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/udfartifacts/{udfArtifactName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteUdfArtifactResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteUdfArtifactResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteUdfFunction DeleteUdfFunctionRequest
* @return DeleteUdfFunctionResponse
*/
@Override
public CompletableFuture<DeleteUdfFunctionResponse> deleteUdfFunction(DeleteUdfFunctionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteUdfFunction").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/udfartifacts/function/{functionName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteUdfFunctionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteUdfFunctionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteVariable DeleteVariableRequest
* @return DeleteVariableResponse
*/
@Override
public CompletableFuture<DeleteVariableResponse> deleteVariable(DeleteVariableRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteVariable").setMethod(HttpMethod.DELETE).setPathRegex("/api/v2/namespaces/{namespace}/variables/{name}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteVariableResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteVariableResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeployDeploymentDraftAsync DeployDeploymentDraftAsyncRequest
* @return DeployDeploymentDraftAsyncResponse
*/
@Override
public CompletableFuture<DeployDeploymentDraftAsyncResponse> deployDeploymentDraftAsync(DeployDeploymentDraftAsyncRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeployDeploymentDraftAsync").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts/async-deploy").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeployDeploymentDraftAsyncResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeployDeploymentDraftAsyncResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ExecuteSqlStatement ExecuteSqlStatementRequest
* @return ExecuteSqlStatementResponse
*/
@Override
public CompletableFuture<ExecuteSqlStatementResponse> executeSqlStatement(ExecuteSqlStatementRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ExecuteSqlStatement").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/sql-statement/execute").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ExecuteSqlStatementResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ExecuteSqlStatementResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of FlinkApiProxy FlinkApiProxyRequest
* @return FlinkApiProxyResponse
*/
@Override
public CompletableFuture<FlinkApiProxyResponse> flinkApiProxy(FlinkApiProxyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("FlinkApiProxy").setMethod(HttpMethod.GET).setPathRegex("/flink-ui/v2/proxy").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(FlinkApiProxyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<FlinkApiProxyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GenerateResourcePlanWithFlinkConfAsync GenerateResourcePlanWithFlinkConfAsyncRequest
* @return GenerateResourcePlanWithFlinkConfAsyncResponse
*/
@Override
public CompletableFuture<GenerateResourcePlanWithFlinkConfAsyncResponse> generateResourcePlanWithFlinkConfAsync(GenerateResourcePlanWithFlinkConfAsyncRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GenerateResourcePlanWithFlinkConfAsync").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/deployments/{deploymentId}/resource-plan:asyncGenerate").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GenerateResourcePlanWithFlinkConfAsyncResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GenerateResourcePlanWithFlinkConfAsyncResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetAppliedScheduledPlan GetAppliedScheduledPlanRequest
* @return GetAppliedScheduledPlanResponse
*/
@Override
public CompletableFuture<GetAppliedScheduledPlanResponse> getAppliedScheduledPlan(GetAppliedScheduledPlanRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetAppliedScheduledPlan").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/scheduled-plans:getExecutedScheduledPlan").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetAppliedScheduledPlanResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetAppliedScheduledPlanResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetCatalogs GetCatalogsRequest
* @return GetCatalogsResponse
*/
@Override
public CompletableFuture<GetCatalogsResponse> getCatalogs(GetCatalogsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetCatalogs").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/catalogs").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetCatalogsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetCatalogsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetDatabases GetDatabasesRequest
* @return GetDatabasesResponse
*/
@Override
public CompletableFuture<GetDatabasesResponse> getDatabases(GetDatabasesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetDatabases").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/catalogs/{catalogName}/databases").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDatabasesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDatabasesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetDeployDeploymentDraftResult GetDeployDeploymentDraftResultRequest
* @return GetDeployDeploymentDraftResultResponse
*/
@Override
public CompletableFuture<GetDeployDeploymentDraftResultResponse> getDeployDeploymentDraftResult(GetDeployDeploymentDraftResultRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetDeployDeploymentDraftResult").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts/tickets/{ticketId}/async-deploy").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDeployDeploymentDraftResultResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDeployDeploymentDraftResultResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetDeployment GetDeploymentRequest
* @return GetDeploymentResponse
*/
@Override
public CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetDeployment").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployments/{deploymentId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDeploymentResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDeploymentResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetDeploymentDraft GetDeploymentDraftRequest
* @return GetDeploymentDraftResponse
*/
@Override
public CompletableFuture<GetDeploymentDraftResponse> getDeploymentDraft(GetDeploymentDraftRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetDeploymentDraft").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDeploymentDraftResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDeploymentDraftResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetDeploymentDraftLock GetDeploymentDraftLockRequest
* @return GetDeploymentDraftLockResponse
*/
@Override
public CompletableFuture<GetDeploymentDraftLockResponse> getDeploymentDraftLock(GetDeploymentDraftLockRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetDeploymentDraftLock").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts/getLock").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDeploymentDraftLockResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDeploymentDraftLockResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetEvents GetEventsRequest
* @return GetEventsResponse
*/
@Override
public CompletableFuture<GetEventsResponse> getEvents(GetEventsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetEvents").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/events").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetEventsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetEventsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetFolder GetFolderRequest
* @return GetFolderResponse
*/
@Override
public CompletableFuture<GetFolderResponse> getFolder(GetFolderRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetFolder").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/folder").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetFolderResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetFolderResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetGenerateResourcePlanResult GetGenerateResourcePlanResultRequest
* @return GetGenerateResourcePlanResultResponse
*/
@Override
public CompletableFuture<GetGenerateResourcePlanResultResponse> getGenerateResourcePlanResult(GetGenerateResourcePlanResultRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetGenerateResourcePlanResult").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployments/tickets/{ticketId}/resource-plan:asyncGenerate").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetGenerateResourcePlanResultResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetGenerateResourcePlanResultResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetHotUpdateJobResult GetHotUpdateJobResultRequest
* @return GetHotUpdateJobResultResponse
*/
@Override
public CompletableFuture<GetHotUpdateJobResultResponse> getHotUpdateJobResult(GetHotUpdateJobResultRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetHotUpdateJobResult").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/jobs/hot-updates/{jobHotUpdateId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetHotUpdateJobResultResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetHotUpdateJobResultResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetJob GetJobRequest
* @return GetJobResponse
*/
@Override
public CompletableFuture<GetJobResponse> getJob(GetJobRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetJob").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/jobs/{jobId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetJobResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetJobResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetJobDiagnosis GetJobDiagnosisRequest
* @return GetJobDiagnosisResponse
*/
@Override
public CompletableFuture<GetJobDiagnosisResponse> getJobDiagnosis(GetJobDiagnosisRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetJobDiagnosis").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployments/{deploymentId}/jobs/{jobId}/job-diagnoses/lite").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetJobDiagnosisResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetJobDiagnosisResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetLatestJobStartLog GetLatestJobStartLogRequest
* @return GetLatestJobStartLogResponse
*/
@Override
public CompletableFuture<GetLatestJobStartLogResponse> getLatestJobStartLog(GetLatestJobStartLogRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetLatestJobStartLog").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployments/{deploymentId}/latest_jobmanager_start_log").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetLatestJobStartLogResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetLatestJobStartLogResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetLineageInfo GetLineageInfoRequest
* @return GetLineageInfoResponse
*/
@Override
public CompletableFuture<GetLineageInfoResponse> getLineageInfo(GetLineageInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetLineageInfo").setMethod(HttpMethod.POST).setPathRegex("/meta/v2/lineage").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetLineageInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetLineageInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetMember GetMemberRequest
* @return GetMemberResponse
*/
@Override
public CompletableFuture<GetMemberResponse> getMember(GetMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetMember").setMethod(HttpMethod.GET).setPathRegex("/gateway/v2/namespaces/{namespace}/members/{member}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetSavepoint GetSavepointRequest
* @return GetSavepointResponse
*/
@Override
public CompletableFuture<GetSavepointResponse> getSavepoint(GetSavepointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetSavepoint").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/savepoints/{savepointId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetSavepointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetSavepointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetSessionCluster GetSessionClusterRequest
* @return GetSessionClusterResponse
*/
@Override
public CompletableFuture<GetSessionClusterResponse> getSessionCluster(GetSessionClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetSessionCluster").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetSessionClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetSessionClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetTables GetTablesRequest
* @return GetTablesResponse
*/
@Override
public CompletableFuture<GetTablesResponse> getTables(GetTablesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetTables").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/catalogs/{catalogName}/databases/{databaseName}/tables").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetTablesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetTablesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of GetUdfArtifacts GetUdfArtifactsRequest
* @return GetUdfArtifactsResponse
*/
@Override
public CompletableFuture<GetUdfArtifactsResponse> getUdfArtifacts(GetUdfArtifactsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetUdfArtifacts").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/udfartifacts").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetUdfArtifactsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetUdfArtifactsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of HotUpdateJob HotUpdateJobRequest
* @return HotUpdateJobResponse
*/
@Override
public CompletableFuture<HotUpdateJobResponse> hotUpdateJob(HotUpdateJobRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("HotUpdateJob").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/jobs/{jobId}:hotUpdate").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(HotUpdateJobResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<HotUpdateJobResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListCustomConnectors ListCustomConnectorsRequest
* @return ListCustomConnectorsResponse
*/
@Override
public CompletableFuture<ListCustomConnectorsResponse> listCustomConnectors(ListCustomConnectorsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListCustomConnectors").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/connectors").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListCustomConnectorsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListCustomConnectorsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListDeploymentDrafts ListDeploymentDraftsRequest
* @return ListDeploymentDraftsResponse
*/
@Override
public CompletableFuture<ListDeploymentDraftsResponse> listDeploymentDrafts(ListDeploymentDraftsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListDeploymentDrafts").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListDeploymentDraftsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListDeploymentDraftsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListDeploymentTargets ListDeploymentTargetsRequest
* @return ListDeploymentTargetsResponse
*/
@Override
public CompletableFuture<ListDeploymentTargetsResponse> listDeploymentTargets(ListDeploymentTargetsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListDeploymentTargets").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployment-targets").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListDeploymentTargetsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListDeploymentTargetsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListDeployments ListDeploymentsRequest
* @return ListDeploymentsResponse
*/
@Override
public CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListDeployments").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/deployments").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListDeploymentsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListDeploymentsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListEditableNamespace ListEditableNamespaceRequest
* @return ListEditableNamespaceResponse
*/
@Override
public CompletableFuture<ListEditableNamespaceResponse> listEditableNamespace(ListEditableNamespaceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListEditableNamespace").setMethod(HttpMethod.GET).setPathRegex("/gateway/v2/namespaces/editable").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListEditableNamespaceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListEditableNamespaceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListEngineVersionMetadata ListEngineVersionMetadataRequest
* @return ListEngineVersionMetadataResponse
*/
@Override
public CompletableFuture<ListEngineVersionMetadataResponse> listEngineVersionMetadata(ListEngineVersionMetadataRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListEngineVersionMetadata").setMethod(HttpMethod.GET).setPathRegex("/api/v2/engine-version-meta.json").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListEngineVersionMetadataResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListEngineVersionMetadataResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListJobs ListJobsRequest
* @return ListJobsResponse
*/
@Override
public CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListJobs").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/jobs").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListJobsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListJobsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListMembers ListMembersRequest
* @return ListMembersResponse
*/
@Override
public CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListMembers").setMethod(HttpMethod.GET).setPathRegex("/gateway/v2/namespaces/{namespace}/members").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListMembersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListMembersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListSavepoints ListSavepointsRequest
* @return ListSavepointsResponse
*/
@Override
public CompletableFuture<ListSavepointsResponse> listSavepoints(ListSavepointsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListSavepoints").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/savepoints").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListSavepointsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListSavepointsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListScheduledPlan ListScheduledPlanRequest
* @return ListScheduledPlanResponse
*/
@Override
public CompletableFuture<ListScheduledPlanResponse> listScheduledPlan(ListScheduledPlanRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListScheduledPlan").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/scheduled-plans").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListScheduledPlanResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListScheduledPlanResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListScheduledPlanExecutedHistory ListScheduledPlanExecutedHistoryRequest
* @return ListScheduledPlanExecutedHistoryResponse
*/
@Override
public CompletableFuture<ListScheduledPlanExecutedHistoryResponse> listScheduledPlanExecutedHistory(ListScheduledPlanExecutedHistoryRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListScheduledPlanExecutedHistory").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/job-resource-upgradings").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListScheduledPlanExecutedHistoryResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListScheduledPlanExecutedHistoryResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListSessionClusters ListSessionClustersRequest
* @return ListSessionClustersResponse
*/
@Override
public CompletableFuture<ListSessionClustersResponse> listSessionClusters(ListSessionClustersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListSessionClusters").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/sessionclusters").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListSessionClustersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListSessionClustersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListVariables ListVariablesRequest
* @return ListVariablesResponse
*/
@Override
public CompletableFuture<ListVariablesResponse> listVariables(ListVariablesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ListVariables").setMethod(HttpMethod.GET).setPathRegex("/api/v2/namespaces/{namespace}/variables").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListVariablesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListVariablesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RegisterCustomConnector RegisterCustomConnectorRequest
* @return RegisterCustomConnectorResponse
*/
@Override
public CompletableFuture<RegisterCustomConnectorResponse> registerCustomConnector(RegisterCustomConnectorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RegisterCustomConnector").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/connectors:register").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RegisterCustomConnectorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RegisterCustomConnectorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RegisterUdfFunction RegisterUdfFunctionRequest
* @return RegisterUdfFunctionResponse
*/
@Override
public CompletableFuture<RegisterUdfFunctionResponse> registerUdfFunction(RegisterUdfFunctionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RegisterUdfFunction").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/udfartifacts/function:registerUdfFunction").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RegisterUdfFunctionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RegisterUdfFunctionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated OpenAPI StartJob is deprecated, please use ververica::2022-07-18::StartJobWithParams instead. * @param request the request parameters of StartJob StartJobRequest
* @return StartJobResponse
*/
@Deprecated
@Override
public CompletableFuture<StartJobResponse> startJob(StartJobRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StartJob").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/jobs").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartJobResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StartJobResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of StartJobWithParams StartJobWithParamsRequest
* @return StartJobWithParamsResponse
*/
@Override
public CompletableFuture<StartJobWithParamsResponse> startJobWithParams(StartJobWithParamsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StartJobWithParams").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/jobs:start").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartJobWithParamsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StartJobWithParamsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of StartSessionCluster StartSessionClusterRequest
* @return StartSessionClusterResponse
*/
@Override
public CompletableFuture<StartSessionClusterResponse> startSessionCluster(StartSessionClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StartSessionCluster").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}:start").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartSessionClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StartSessionClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of StopApplyScheduledPlan StopApplyScheduledPlanRequest
* @return StopApplyScheduledPlanResponse
*/
@Override
public CompletableFuture<StopApplyScheduledPlanResponse> stopApplyScheduledPlan(StopApplyScheduledPlanRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StopApplyScheduledPlan").setMethod(HttpMethod.PATCH).setPathRegex("/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}:stop").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopApplyScheduledPlanResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StopApplyScheduledPlanResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of StopJob StopJobRequest
* @return StopJobResponse
*/
@Override
public CompletableFuture<StopJobResponse> stopJob(StopJobRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StopJob").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/jobs/{jobId}:stop").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopJobResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StopJobResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of StopSessionCluster StopSessionClusterRequest
* @return StopSessionClusterResponse
*/
@Override
public CompletableFuture<StopSessionClusterResponse> stopSessionCluster(StopSessionClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StopSessionCluster").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}:stop").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopSessionClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StopSessionClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateDeployment UpdateDeploymentRequest
* @return UpdateDeploymentResponse
*/
@Override
public CompletableFuture<UpdateDeploymentResponse> updateDeployment(UpdateDeploymentRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateDeployment").setMethod(HttpMethod.PUT).setPathRegex("/api/v2/namespaces/{namespace}/deployments/{deploymentId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateDeploymentResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateDeploymentResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateDeploymentDraft UpdateDeploymentDraftRequest
* @return UpdateDeploymentDraftResponse
*/
@Override
public CompletableFuture<UpdateDeploymentDraftResponse> updateDeploymentDraft(UpdateDeploymentDraftRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateDeploymentDraft").setMethod(HttpMethod.PATCH).setPathRegex("/api/v2/namespaces/{namespace}/deployment-drafts/{deploymentDraftId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateDeploymentDraftResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateDeploymentDraftResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateDeploymentTarget UpdateDeploymentTargetRequest
* @return UpdateDeploymentTargetResponse
*/
@Override
public CompletableFuture<UpdateDeploymentTargetResponse> updateDeploymentTarget(UpdateDeploymentTargetRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateDeploymentTarget").setMethod(HttpMethod.PUT).setPathRegex("/api/v2/namespaces/{namespace}/deployment-targets/{deploymentTargetName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateDeploymentTargetResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateDeploymentTargetResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateFolder UpdateFolderRequest
* @return UpdateFolderResponse
*/
@Override
public CompletableFuture<UpdateFolderResponse> updateFolder(UpdateFolderRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateFolder").setMethod(HttpMethod.PATCH).setPathRegex("/api/v2/namespaces/{namespace}/folder/{folderId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateFolderResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateFolderResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateMember UpdateMemberRequest
* @return UpdateMemberResponse
*/
@Override
public CompletableFuture<UpdateMemberResponse> updateMember(UpdateMemberRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateMember").setMethod(HttpMethod.PUT).setPathRegex("/gateway/v2/namespaces/{namespace}/members").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateMemberResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateMemberResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateScheduledPlan UpdateScheduledPlanRequest
* @return UpdateScheduledPlanResponse
*/
@Override
public CompletableFuture<UpdateScheduledPlanResponse> updateScheduledPlan(UpdateScheduledPlanRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateScheduledPlan").setMethod(HttpMethod.PUT).setPathRegex("/api/v2/namespaces/{namespace}/scheduled-plans/{scheduledPlanId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateScheduledPlanResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateScheduledPlanResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateSessionCluster UpdateSessionClusterRequest
* @return UpdateSessionClusterResponse
*/
@Override
public CompletableFuture<UpdateSessionClusterResponse> updateSessionCluster(UpdateSessionClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateSessionCluster").setMethod(HttpMethod.PATCH).setPathRegex("/api/v2/namespaces/{namespace}/sessionclusters/{sessionClusterName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateSessionClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateSessionClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateUdfArtifact UpdateUdfArtifactRequest
* @return UpdateUdfArtifactResponse
*/
@Override
public CompletableFuture<UpdateUdfArtifactResponse> updateUdfArtifact(UpdateUdfArtifactRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateUdfArtifact").setMethod(HttpMethod.PUT).setPathRegex("/api/v2/namespaces/{namespace}/udfartifacts/{udfArtifactName}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateUdfArtifactResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateUdfArtifactResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UpdateVariable UpdateVariableRequest
* @return UpdateVariableResponse
*/
@Override
public CompletableFuture<UpdateVariableResponse> updateVariable(UpdateVariableRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateVariable").setMethod(HttpMethod.PATCH).setPathRegex("/api/v2/namespaces/{namespace}/variables/{name}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateVariableResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateVariableResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ValidateSqlStatement ValidateSqlStatementRequest
* @return ValidateSqlStatementResponse
*/
@Override
public CompletableFuture<ValidateSqlStatementResponse> validateSqlStatement(ValidateSqlStatementRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ValidateSqlStatement").setMethod(HttpMethod.POST).setPathRegex("/api/v2/namespaces/{namespace}/sql-statement/validate").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ValidateSqlStatementResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ValidateSqlStatementResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/DefaultAsyncClientBuilder.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718;
import com.aliyun.sdk.gateway.pop.BaseClientBuilder;
public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> {
@Override
protected String serviceName() {
return "ververica20220718";
}
@Override
protected final AsyncClient buildClient() {
return new DefaultAsyncClient(super.applyClientConfiguration());
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/ApplyScheduledPlanRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 ApplyScheduledPlanRequest} extends {@link RequestModel}
*
* <p>ApplyScheduledPlanRequest</p>
*/
public class ApplyScheduledPlanRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("scheduledPlanId")
@com.aliyun.core.annotation.Validation(required = true)
private String scheduledPlanId;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private ApplyScheduledPlanRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.scheduledPlanId = builder.scheduledPlanId;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static ApplyScheduledPlanRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return scheduledPlanId
*/
public String getScheduledPlanId() {
return this.scheduledPlanId;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<ApplyScheduledPlanRequest, Builder> {
private String namespace;
private String scheduledPlanId;
private String workspace;
private Builder() {
super();
}
private Builder(ApplyScheduledPlanRequest request) {
super(request);
this.namespace = request.namespace;
this.scheduledPlanId = request.scheduledPlanId;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>f420c2e7-6d3f-4683-81d0-3ea8585*****</p>
*/
public Builder scheduledPlanId(String scheduledPlanId) {
this.putPathParameter("scheduledPlanId", scheduledPlanId);
this.scheduledPlanId = scheduledPlanId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public ApplyScheduledPlanRequest build() {
return new ApplyScheduledPlanRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/ApplyScheduledPlanResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 ApplyScheduledPlanResponse} extends {@link TeaModel}
*
* <p>ApplyScheduledPlanResponse</p>
*/
public class ApplyScheduledPlanResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ApplyScheduledPlanResponseBody body;
private ApplyScheduledPlanResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ApplyScheduledPlanResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ApplyScheduledPlanResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ApplyScheduledPlanResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ApplyScheduledPlanResponseBody body);
@Override
ApplyScheduledPlanResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ApplyScheduledPlanResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ApplyScheduledPlanResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ApplyScheduledPlanResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ApplyScheduledPlanResponseBody body) {
this.body = body;
return this;
}
@Override
public ApplyScheduledPlanResponse build() {
return new ApplyScheduledPlanResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/ApplyScheduledPlanResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 ApplyScheduledPlanResponseBody} extends {@link TeaModel}
*
* <p>ApplyScheduledPlanResponseBody</p>
*/
public class ApplyScheduledPlanResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private ScheduledPlanAppliedInfo 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 ApplyScheduledPlanResponseBody(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 ApplyScheduledPlanResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public ScheduledPlanAppliedInfo 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 ScheduledPlanAppliedInfo data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(ScheduledPlanAppliedInfo data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 ApplyScheduledPlanResponseBody build() {
return new ApplyScheduledPlanResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/Artifact.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 Artifact} extends {@link TeaModel}
*
* <p>Artifact</p>
*/
public class Artifact extends TeaModel {
@com.aliyun.core.annotation.NameInMap("jarArtifact")
private JarArtifact jarArtifact;
@com.aliyun.core.annotation.NameInMap("kind")
private String kind;
@com.aliyun.core.annotation.NameInMap("pythonArtifact")
private PythonArtifact pythonArtifact;
@com.aliyun.core.annotation.NameInMap("sqlArtifact")
private SqlArtifact sqlArtifact;
private Artifact(Builder builder) {
this.jarArtifact = builder.jarArtifact;
this.kind = builder.kind;
this.pythonArtifact = builder.pythonArtifact;
this.sqlArtifact = builder.sqlArtifact;
}
public static Builder builder() {
return new Builder();
}
public static Artifact create() {
return builder().build();
}
/**
* @return jarArtifact
*/
public JarArtifact getJarArtifact() {
return this.jarArtifact;
}
/**
* @return kind
*/
public String getKind() {
return this.kind;
}
/**
* @return pythonArtifact
*/
public PythonArtifact getPythonArtifact() {
return this.pythonArtifact;
}
/**
* @return sqlArtifact
*/
public SqlArtifact getSqlArtifact() {
return this.sqlArtifact;
}
public static final class Builder {
private JarArtifact jarArtifact;
private String kind;
private PythonArtifact pythonArtifact;
private SqlArtifact sqlArtifact;
/**
* jarArtifact.
*/
public Builder jarArtifact(JarArtifact jarArtifact) {
this.jarArtifact = jarArtifact;
return this;
}
/**
* kind.
*/
public Builder kind(String kind) {
this.kind = kind;
return this;
}
/**
* pythonArtifact.
*/
public Builder pythonArtifact(PythonArtifact pythonArtifact) {
this.pythonArtifact = pythonArtifact;
return this;
}
/**
* sqlArtifact.
*/
public Builder sqlArtifact(SqlArtifact sqlArtifact) {
this.sqlArtifact = sqlArtifact;
return this;
}
public Artifact build() {
return new Artifact(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/AsyncDraftDeployResult.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 AsyncDraftDeployResult} extends {@link TeaModel}
*
* <p>AsyncDraftDeployResult</p>
*/
public class AsyncDraftDeployResult extends TeaModel {
@com.aliyun.core.annotation.NameInMap("artifactValidationDetail")
private ValidateStatementResult artifactValidationDetail;
@com.aliyun.core.annotation.NameInMap("deploymentId")
private String deploymentId;
@com.aliyun.core.annotation.NameInMap("message")
private String message;
@com.aliyun.core.annotation.NameInMap("success")
private Boolean success;
@com.aliyun.core.annotation.NameInMap("ticketStatus")
private String ticketStatus;
private AsyncDraftDeployResult(Builder builder) {
this.artifactValidationDetail = builder.artifactValidationDetail;
this.deploymentId = builder.deploymentId;
this.message = builder.message;
this.success = builder.success;
this.ticketStatus = builder.ticketStatus;
}
public static Builder builder() {
return new Builder();
}
public static AsyncDraftDeployResult create() {
return builder().build();
}
/**
* @return artifactValidationDetail
*/
public ValidateStatementResult getArtifactValidationDetail() {
return this.artifactValidationDetail;
}
/**
* @return deploymentId
*/
public String getDeploymentId() {
return this.deploymentId;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return ticketStatus
*/
public String getTicketStatus() {
return this.ticketStatus;
}
public static final class Builder {
private ValidateStatementResult artifactValidationDetail;
private String deploymentId;
private String message;
private Boolean success;
private String ticketStatus;
/**
* artifactValidationDetail.
*/
public Builder artifactValidationDetail(ValidateStatementResult artifactValidationDetail) {
this.artifactValidationDetail = artifactValidationDetail;
return this;
}
/**
* deploymentId.
*/
public Builder deploymentId(String deploymentId) {
this.deploymentId = deploymentId;
return this;
}
/**
* message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* ticketStatus.
*/
public Builder ticketStatus(String ticketStatus) {
this.ticketStatus = ticketStatus;
return this;
}
public AsyncDraftDeployResult build() {
return new AsyncDraftDeployResult(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/AsyncResourcePlanOperationResult.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 AsyncResourcePlanOperationResult} extends {@link TeaModel}
*
* <p>AsyncResourcePlanOperationResult</p>
*/
public class AsyncResourcePlanOperationResult extends TeaModel {
@com.aliyun.core.annotation.NameInMap("message")
private String message;
@com.aliyun.core.annotation.NameInMap("plan")
private String plan;
@com.aliyun.core.annotation.NameInMap("ticketStatus")
private String ticketStatus;
private AsyncResourcePlanOperationResult(Builder builder) {
this.message = builder.message;
this.plan = builder.plan;
this.ticketStatus = builder.ticketStatus;
}
public static Builder builder() {
return new Builder();
}
public static AsyncResourcePlanOperationResult create() {
return builder().build();
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return plan
*/
public String getPlan() {
return this.plan;
}
/**
* @return ticketStatus
*/
public String getTicketStatus() {
return this.ticketStatus;
}
public static final class Builder {
private String message;
private String plan;
private String ticketStatus;
/**
* message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* plan.
*/
public Builder plan(String plan) {
this.plan = plan;
return this;
}
/**
* ticketStatus.
*/
public Builder ticketStatus(String ticketStatus) {
this.ticketStatus = ticketStatus;
return this;
}
public AsyncResourcePlanOperationResult build() {
return new AsyncResourcePlanOperationResult(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/BasicResourceSetting.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 BasicResourceSetting} extends {@link TeaModel}
*
* <p>BasicResourceSetting</p>
*/
public class BasicResourceSetting extends TeaModel {
@com.aliyun.core.annotation.NameInMap("jobmanagerResourceSettingSpec")
private BasicResourceSettingSpec jobmanagerResourceSettingSpec;
@com.aliyun.core.annotation.NameInMap("parallelism")
private Long parallelism;
@com.aliyun.core.annotation.NameInMap("taskmanagerResourceSettingSpec")
private BasicResourceSettingSpec taskmanagerResourceSettingSpec;
private BasicResourceSetting(Builder builder) {
this.jobmanagerResourceSettingSpec = builder.jobmanagerResourceSettingSpec;
this.parallelism = builder.parallelism;
this.taskmanagerResourceSettingSpec = builder.taskmanagerResourceSettingSpec;
}
public static Builder builder() {
return new Builder();
}
public static BasicResourceSetting create() {
return builder().build();
}
/**
* @return jobmanagerResourceSettingSpec
*/
public BasicResourceSettingSpec getJobmanagerResourceSettingSpec() {
return this.jobmanagerResourceSettingSpec;
}
/**
* @return parallelism
*/
public Long getParallelism() {
return this.parallelism;
}
/**
* @return taskmanagerResourceSettingSpec
*/
public BasicResourceSettingSpec getTaskmanagerResourceSettingSpec() {
return this.taskmanagerResourceSettingSpec;
}
public static final class Builder {
private BasicResourceSettingSpec jobmanagerResourceSettingSpec;
private Long parallelism;
private BasicResourceSettingSpec taskmanagerResourceSettingSpec;
/**
* jobmanagerResourceSettingSpec.
*/
public Builder jobmanagerResourceSettingSpec(BasicResourceSettingSpec jobmanagerResourceSettingSpec) {
this.jobmanagerResourceSettingSpec = jobmanagerResourceSettingSpec;
return this;
}
/**
* parallelism.
*/
public Builder parallelism(Long parallelism) {
this.parallelism = parallelism;
return this;
}
/**
* taskmanagerResourceSettingSpec.
*/
public Builder taskmanagerResourceSettingSpec(BasicResourceSettingSpec taskmanagerResourceSettingSpec) {
this.taskmanagerResourceSettingSpec = taskmanagerResourceSettingSpec;
return this;
}
public BasicResourceSetting build() {
return new BasicResourceSetting(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/BasicResourceSettingSpec.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 BasicResourceSettingSpec} extends {@link TeaModel}
*
* <p>BasicResourceSettingSpec</p>
*/
public class BasicResourceSettingSpec extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cpu")
private Double cpu;
@com.aliyun.core.annotation.NameInMap("memory")
private String memory;
private BasicResourceSettingSpec(Builder builder) {
this.cpu = builder.cpu;
this.memory = builder.memory;
}
public static Builder builder() {
return new Builder();
}
public static BasicResourceSettingSpec create() {
return builder().build();
}
/**
* @return cpu
*/
public Double getCpu() {
return this.cpu;
}
/**
* @return memory
*/
public String getMemory() {
return this.memory;
}
public static final class Builder {
private Double cpu;
private String memory;
/**
* cpu.
*/
public Builder cpu(Double cpu) {
this.cpu = cpu;
return this;
}
/**
* memory.
*/
public Builder memory(String memory) {
this.memory = memory;
return this;
}
public BasicResourceSettingSpec build() {
return new BasicResourceSettingSpec(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/BatchResourceSetting.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 BatchResourceSetting} extends {@link TeaModel}
*
* <p>BatchResourceSetting</p>
*/
public class BatchResourceSetting extends TeaModel {
@com.aliyun.core.annotation.NameInMap("basicResourceSetting")
private BasicResourceSetting basicResourceSetting;
@com.aliyun.core.annotation.NameInMap("maxSlot")
private Long maxSlot;
private BatchResourceSetting(Builder builder) {
this.basicResourceSetting = builder.basicResourceSetting;
this.maxSlot = builder.maxSlot;
}
public static Builder builder() {
return new Builder();
}
public static BatchResourceSetting create() {
return builder().build();
}
/**
* @return basicResourceSetting
*/
public BasicResourceSetting getBasicResourceSetting() {
return this.basicResourceSetting;
}
/**
* @return maxSlot
*/
public Long getMaxSlot() {
return this.maxSlot;
}
public static final class Builder {
private BasicResourceSetting basicResourceSetting;
private Long maxSlot;
/**
* basicResourceSetting.
*/
public Builder basicResourceSetting(BasicResourceSetting basicResourceSetting) {
this.basicResourceSetting = basicResourceSetting;
return this;
}
/**
* maxSlot.
*/
public Builder maxSlot(Long maxSlot) {
this.maxSlot = maxSlot;
return this;
}
public BatchResourceSetting build() {
return new BatchResourceSetting(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/BriefDeploymentTarget.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 BriefDeploymentTarget} extends {@link TeaModel}
*
* <p>BriefDeploymentTarget</p>
*/
public class BriefDeploymentTarget extends TeaModel {
@com.aliyun.core.annotation.NameInMap("mode")
private String mode;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
private BriefDeploymentTarget(Builder builder) {
this.mode = builder.mode;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static BriefDeploymentTarget create() {
return builder().build();
}
/**
* @return mode
*/
public String getMode() {
return this.mode;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String mode;
private String name;
/**
* mode.
*/
public Builder mode(String mode) {
this.mode = mode;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
public BriefDeploymentTarget build() {
return new BriefDeploymentTarget(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/BriefResourceSetting.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 BriefResourceSetting} extends {@link TeaModel}
*
* <p>BriefResourceSetting</p>
*/
public class BriefResourceSetting extends TeaModel {
@com.aliyun.core.annotation.NameInMap("batchResourceSetting")
private BatchResourceSetting batchResourceSetting;
@com.aliyun.core.annotation.NameInMap("flinkConf")
private java.util.Map<String, ?> flinkConf;
@com.aliyun.core.annotation.NameInMap("streamingResourceSetting")
private StreamingResourceSetting streamingResourceSetting;
private BriefResourceSetting(Builder builder) {
this.batchResourceSetting = builder.batchResourceSetting;
this.flinkConf = builder.flinkConf;
this.streamingResourceSetting = builder.streamingResourceSetting;
}
public static Builder builder() {
return new Builder();
}
public static BriefResourceSetting create() {
return builder().build();
}
/**
* @return batchResourceSetting
*/
public BatchResourceSetting getBatchResourceSetting() {
return this.batchResourceSetting;
}
/**
* @return flinkConf
*/
public java.util.Map<String, ?> getFlinkConf() {
return this.flinkConf;
}
/**
* @return streamingResourceSetting
*/
public StreamingResourceSetting getStreamingResourceSetting() {
return this.streamingResourceSetting;
}
public static final class Builder {
private BatchResourceSetting batchResourceSetting;
private java.util.Map<String, ?> flinkConf;
private StreamingResourceSetting streamingResourceSetting;
/**
* batchResourceSetting.
*/
public Builder batchResourceSetting(BatchResourceSetting batchResourceSetting) {
this.batchResourceSetting = batchResourceSetting;
return this;
}
/**
* flinkConf.
*/
public Builder flinkConf(java.util.Map<String, ?> flinkConf) {
this.flinkConf = flinkConf;
return this;
}
/**
* streamingResourceSetting.
*/
public Builder streamingResourceSetting(StreamingResourceSetting streamingResourceSetting) {
this.streamingResourceSetting = streamingResourceSetting;
return this;
}
public BriefResourceSetting build() {
return new BriefResourceSetting(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/Catalog.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 Catalog} extends {@link TeaModel}
*
* <p>Catalog</p>
*/
public class Catalog extends TeaModel {
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("properties")
private java.util.Map<String, ?> properties;
private Catalog(Builder builder) {
this.name = builder.name;
this.properties = builder.properties;
}
public static Builder builder() {
return new Builder();
}
public static Catalog create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return properties
*/
public java.util.Map<String, ?> getProperties() {
return this.properties;
}
public static final class Builder {
private String name;
private java.util.Map<String, ?> properties;
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* properties.
*/
public Builder properties(java.util.Map<String, ?> properties) {
this.properties = properties;
return this;
}
public Catalog build() {
return new Catalog(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/Connector.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 Connector} extends {@link TeaModel}
*
* <p>Connector</p>
*/
public class Connector extends TeaModel {
@com.aliyun.core.annotation.NameInMap("creator")
private String creator;
@com.aliyun.core.annotation.NameInMap("creatorName")
private String creatorName;
@com.aliyun.core.annotation.NameInMap("dependencies")
private java.util.List<String> dependencies;
@com.aliyun.core.annotation.NameInMap("lookup")
private Boolean lookup;
@com.aliyun.core.annotation.NameInMap("modifier")
private String modifier;
@com.aliyun.core.annotation.NameInMap("modifierName")
private String modifierName;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("properties")
private java.util.List<Property> properties;
@com.aliyun.core.annotation.NameInMap("sink")
private Boolean sink;
@com.aliyun.core.annotation.NameInMap("source")
private Boolean source;
@com.aliyun.core.annotation.NameInMap("supportedFormats")
private java.util.List<String> supportedFormats;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
private Connector(Builder builder) {
this.creator = builder.creator;
this.creatorName = builder.creatorName;
this.dependencies = builder.dependencies;
this.lookup = builder.lookup;
this.modifier = builder.modifier;
this.modifierName = builder.modifierName;
this.name = builder.name;
this.properties = builder.properties;
this.sink = builder.sink;
this.source = builder.source;
this.supportedFormats = builder.supportedFormats;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Connector create() {
return builder().build();
}
/**
* @return creator
*/
public String getCreator() {
return this.creator;
}
/**
* @return creatorName
*/
public String getCreatorName() {
return this.creatorName;
}
/**
* @return dependencies
*/
public java.util.List<String> getDependencies() {
return this.dependencies;
}
/**
* @return lookup
*/
public Boolean getLookup() {
return this.lookup;
}
/**
* @return modifier
*/
public String getModifier() {
return this.modifier;
}
/**
* @return modifierName
*/
public String getModifierName() {
return this.modifierName;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return properties
*/
public java.util.List<Property> getProperties() {
return this.properties;
}
/**
* @return sink
*/
public Boolean getSink() {
return this.sink;
}
/**
* @return source
*/
public Boolean getSource() {
return this.source;
}
/**
* @return supportedFormats
*/
public java.util.List<String> getSupportedFormats() {
return this.supportedFormats;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String creator;
private String creatorName;
private java.util.List<String> dependencies;
private Boolean lookup;
private String modifier;
private String modifierName;
private String name;
private java.util.List<Property> properties;
private Boolean sink;
private Boolean source;
private java.util.List<String> supportedFormats;
private String type;
/**
* creator.
*/
public Builder creator(String creator) {
this.creator = creator;
return this;
}
/**
* creatorName.
*/
public Builder creatorName(String creatorName) {
this.creatorName = creatorName;
return this;
}
/**
* dependencies.
*/
public Builder dependencies(java.util.List<String> dependencies) {
this.dependencies = dependencies;
return this;
}
/**
* lookup.
*/
public Builder lookup(Boolean lookup) {
this.lookup = lookup;
return this;
}
/**
* modifier.
*/
public Builder modifier(String modifier) {
this.modifier = modifier;
return this;
}
/**
* modifierName.
*/
public Builder modifierName(String modifierName) {
this.modifierName = modifierName;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* properties.
*/
public Builder properties(java.util.List<Property> properties) {
this.properties = properties;
return this;
}
/**
* sink.
*/
public Builder sink(Boolean sink) {
this.sink = sink;
return this;
}
/**
* source.
*/
public Builder source(Boolean source) {
this.source = source;
return this;
}
/**
* supportedFormats.
*/
public Builder supportedFormats(java.util.List<String> supportedFormats) {
this.supportedFormats = supportedFormats;
return this;
}
/**
* type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Connector build() {
return new Connector(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentDraftRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentDraftRequest} extends {@link RequestModel}
*
* <p>CreateDeploymentDraftRequest</p>
*/
public class CreateDeploymentDraftRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
@com.aliyun.core.annotation.Validation(required = true)
private DeploymentDraft body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateDeploymentDraftRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateDeploymentDraftRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public DeploymentDraft getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateDeploymentDraftRequest, Builder> {
private String namespace;
private DeploymentDraft body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateDeploymentDraftRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder body(DeploymentDraft body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateDeploymentDraftRequest build() {
return new CreateDeploymentDraftRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentDraftResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentDraftResponse} extends {@link TeaModel}
*
* <p>CreateDeploymentDraftResponse</p>
*/
public class CreateDeploymentDraftResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateDeploymentDraftResponseBody body;
private CreateDeploymentDraftResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateDeploymentDraftResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateDeploymentDraftResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateDeploymentDraftResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateDeploymentDraftResponseBody body);
@Override
CreateDeploymentDraftResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateDeploymentDraftResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateDeploymentDraftResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateDeploymentDraftResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateDeploymentDraftResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateDeploymentDraftResponse build() {
return new CreateDeploymentDraftResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentDraftResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentDraftResponseBody} extends {@link TeaModel}
*
* <p>CreateDeploymentDraftResponseBody</p>
*/
public class CreateDeploymentDraftResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private DeploymentDraft 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 CreateDeploymentDraftResponseBody(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 CreateDeploymentDraftResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public DeploymentDraft 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 DeploymentDraft data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(DeploymentDraft data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 CreateDeploymentDraftResponseBody build() {
return new CreateDeploymentDraftResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentRequest} extends {@link RequestModel}
*
* <p>CreateDeploymentRequest</p>
*/
public class CreateDeploymentRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
@com.aliyun.core.annotation.Validation(required = true)
private Deployment body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateDeploymentRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateDeploymentRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public Deployment getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateDeploymentRequest, Builder> {
private String namespace;
private Deployment body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateDeploymentRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The content of the deployment.</p>
* <p>This parameter is required.</p>
*/
public Builder body(Deployment body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateDeploymentRequest build() {
return new CreateDeploymentRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentResponse} extends {@link TeaModel}
*
* <p>CreateDeploymentResponse</p>
*/
public class CreateDeploymentResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateDeploymentResponseBody body;
private CreateDeploymentResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateDeploymentResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateDeploymentResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateDeploymentResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateDeploymentResponseBody body);
@Override
CreateDeploymentResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateDeploymentResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateDeploymentResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateDeploymentResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateDeploymentResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateDeploymentResponse build() {
return new CreateDeploymentResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentResponseBody} extends {@link TeaModel}
*
* <p>CreateDeploymentResponseBody</p>
*/
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;
/**
* <ul>
* <li>If the value of success was true, the deployment that you created was returned.</li>
* <li>If the value of success was false, a null value was returned.</li>
* </ul>
*/
public Builder data(Deployment data) {
this.data = data;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The value was fixed to 200.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateDeploymentResponseBody build() {
return new CreateDeploymentResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentTargetRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentTargetRequest} extends {@link RequestModel}
*
* <p>CreateDeploymentTargetRequest</p>
*/
public class CreateDeploymentTargetRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
private ResourceSpec body;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("deploymentTargetName")
@com.aliyun.core.annotation.Validation(required = true)
private String deploymentTargetName;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateDeploymentTargetRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.deploymentTargetName = builder.deploymentTargetName;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateDeploymentTargetRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public ResourceSpec getBody() {
return this.body;
}
/**
* @return deploymentTargetName
*/
public String getDeploymentTargetName() {
return this.deploymentTargetName;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateDeploymentTargetRequest, Builder> {
private String namespace;
private ResourceSpec body;
private String deploymentTargetName;
private String workspace;
private Builder() {
super();
}
private Builder(CreateDeploymentTargetRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.deploymentTargetName = request.deploymentTargetName;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* body.
*/
public Builder body(ResourceSpec body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-dt</p>
*/
public Builder deploymentTargetName(String deploymentTargetName) {
this.putQueryParameter("deploymentTargetName", deploymentTargetName);
this.deploymentTargetName = deploymentTargetName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bda1c4a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateDeploymentTargetRequest build() {
return new CreateDeploymentTargetRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentTargetResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentTargetResponse} extends {@link TeaModel}
*
* <p>CreateDeploymentTargetResponse</p>
*/
public class CreateDeploymentTargetResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateDeploymentTargetResponseBody body;
private CreateDeploymentTargetResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateDeploymentTargetResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateDeploymentTargetResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateDeploymentTargetResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateDeploymentTargetResponseBody body);
@Override
CreateDeploymentTargetResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateDeploymentTargetResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateDeploymentTargetResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateDeploymentTargetResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateDeploymentTargetResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateDeploymentTargetResponse build() {
return new CreateDeploymentTargetResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateDeploymentTargetResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateDeploymentTargetResponseBody} extends {@link TeaModel}
*
* <p>CreateDeploymentTargetResponseBody</p>
*/
public class CreateDeploymentTargetResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private DeploymentTarget 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 CreateDeploymentTargetResponseBody(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 CreateDeploymentTargetResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public DeploymentTarget 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 DeploymentTarget data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(DeploymentTarget data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 CreateDeploymentTargetResponseBody build() {
return new CreateDeploymentTargetResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateFolderRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateFolderRequest} extends {@link RequestModel}
*
* <p>CreateFolderRequest</p>
*/
public class CreateFolderRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
private Folder body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateFolderRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateFolderRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public Folder getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateFolderRequest, Builder> {
private String namespace;
private Folder body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateFolderRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* body.
*/
public Builder body(Folder body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bda1c4a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateFolderRequest build() {
return new CreateFolderRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateFolderResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateFolderResponse} extends {@link TeaModel}
*
* <p>CreateFolderResponse</p>
*/
public class CreateFolderResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateFolderResponseBody body;
private CreateFolderResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateFolderResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateFolderResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateFolderResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateFolderResponseBody body);
@Override
CreateFolderResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateFolderResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateFolderResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateFolderResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateFolderResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateFolderResponse build() {
return new CreateFolderResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateFolderResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateFolderResponseBody} extends {@link TeaModel}
*
* <p>CreateFolderResponseBody</p>
*/
public class CreateFolderResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private Folder 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 CreateFolderResponseBody(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 CreateFolderResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public Folder 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 Folder data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(Folder data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 CreateFolderResponseBody build() {
return new CreateFolderResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateMemberRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateMemberRequest} extends {@link RequestModel}
*
* <p>CreateMemberRequest</p>
*/
public class CreateMemberRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
private Member body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateMemberRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateMemberRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public Member getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateMemberRequest, Builder> {
private String namespace;
private Member body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateMemberRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>u-gs3rgla9-default</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The mappings between the ID and permissions of the member.</p>
*/
public Builder body(Member body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ca84d539167d4d</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateMemberRequest build() {
return new CreateMemberRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateMemberResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateMemberResponse} extends {@link TeaModel}
*
* <p>CreateMemberResponse</p>
*/
public class CreateMemberResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateMemberResponseBody body;
private CreateMemberResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateMemberResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateMemberResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateMemberResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateMemberResponseBody body);
@Override
CreateMemberResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateMemberResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateMemberResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateMemberResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateMemberResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateMemberResponse build() {
return new CreateMemberResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateMemberResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateMemberResponseBody} extends {@link TeaModel}
*
* <p>CreateMemberResponseBody</p>
*/
public class CreateMemberResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private Member 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 CreateMemberResponseBody(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 CreateMemberResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public Member 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 Member data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <ul>
* <li>If the value of success was false, a null value was returned.</li>
* <li>If the value of success was true, the authorization information was returned.</li>
* </ul>
*/
public Builder data(Member data) {
this.data = data;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The status code returned. The value was fixed to 200. The status code 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>F989CA70-2925-5A94-92B7-20F5762B71C8</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateMemberResponseBody build() {
return new CreateMemberResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateSavepointRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateSavepointRequest} extends {@link RequestModel}
*
* <p>CreateSavepointRequest</p>
*/
public class CreateSavepointRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("deploymentId")
@com.aliyun.core.annotation.Validation(required = true)
private String deploymentId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("description")
private String description;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("nativeFormat")
private Boolean nativeFormat;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateSavepointRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.deploymentId = builder.deploymentId;
this.description = builder.description;
this.nativeFormat = builder.nativeFormat;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateSavepointRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return deploymentId
*/
public String getDeploymentId() {
return this.deploymentId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return nativeFormat
*/
public Boolean getNativeFormat() {
return this.nativeFormat;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateSavepointRequest, Builder> {
private String namespace;
private String deploymentId;
private String description;
private Boolean nativeFormat;
private String workspace;
private Builder() {
super();
}
private Builder(CreateSavepointRequest request) {
super(request);
this.namespace = request.namespace;
this.deploymentId = request.deploymentId;
this.description = request.description;
this.nativeFormat = request.nativeFormat;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The deployment ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>58718c99-3b29-4c5e-93bb-c9fc4ec6****</p>
*/
public Builder deploymentId(String deploymentId) {
this.putBodyParameter("deploymentId", deploymentId);
this.deploymentId = deploymentId;
return this;
}
/**
* <p>The description of the savepoint.</p>
*/
public Builder description(String description) {
this.putBodyParameter("description", description);
this.description = description;
return this;
}
/**
* <p>Specifies whether to use the native format mode. Valid values:</p>
* <ul>
* <li>true: The native format mode is used.</li>
* <li>false: The native format mode is not used.</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder nativeFormat(Boolean nativeFormat) {
this.putBodyParameter("nativeFormat", nativeFormat);
this.nativeFormat = nativeFormat;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateSavepointRequest build() {
return new CreateSavepointRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateSavepointResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateSavepointResponse} extends {@link TeaModel}
*
* <p>CreateSavepointResponse</p>
*/
public class CreateSavepointResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateSavepointResponseBody body;
private CreateSavepointResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateSavepointResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateSavepointResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateSavepointResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateSavepointResponseBody body);
@Override
CreateSavepointResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateSavepointResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateSavepointResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateSavepointResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateSavepointResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateSavepointResponse build() {
return new CreateSavepointResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateSavepointResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateSavepointResponseBody} extends {@link TeaModel}
*
* <p>CreateSavepointResponseBody</p>
*/
public class CreateSavepointResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private Savepoint 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 CreateSavepointResponseBody(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 CreateSavepointResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public Savepoint 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 Savepoint data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <ul>
* <li>If the value of success was true, the savepoint that was created was returned.</li>
* <li>If the value of success was false, a null value was returned.</li>
* </ul>
*/
public Builder data(Savepoint data) {
this.data = data;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The value was fixed to 200.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateSavepointResponseBody build() {
return new CreateSavepointResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateScheduledPlanRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateScheduledPlanRequest} extends {@link RequestModel}
*
* <p>CreateScheduledPlanRequest</p>
*/
public class CreateScheduledPlanRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
private ScheduledPlan body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateScheduledPlanRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateScheduledPlanRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public ScheduledPlan getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateScheduledPlanRequest, Builder> {
private String namespace;
private ScheduledPlan body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateScheduledPlanRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* body.
*/
public Builder body(ScheduledPlan body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateScheduledPlanRequest build() {
return new CreateScheduledPlanRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateScheduledPlanResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateScheduledPlanResponse} extends {@link TeaModel}
*
* <p>CreateScheduledPlanResponse</p>
*/
public class CreateScheduledPlanResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateScheduledPlanResponseBody body;
private CreateScheduledPlanResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateScheduledPlanResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateScheduledPlanResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateScheduledPlanResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateScheduledPlanResponseBody body);
@Override
CreateScheduledPlanResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateScheduledPlanResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateScheduledPlanResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateScheduledPlanResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateScheduledPlanResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateScheduledPlanResponse build() {
return new CreateScheduledPlanResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateScheduledPlanResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateScheduledPlanResponseBody} extends {@link TeaModel}
*
* <p>CreateScheduledPlanResponseBody</p>
*/
public class CreateScheduledPlanResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private ScheduledPlan 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 CreateScheduledPlanResponseBody(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 CreateScheduledPlanResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public ScheduledPlan 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 ScheduledPlan data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(ScheduledPlan data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 CreateScheduledPlanResponseBody build() {
return new CreateScheduledPlanResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateSessionClusterRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateSessionClusterRequest} extends {@link RequestModel}
*
* <p>CreateSessionClusterRequest</p>
*/
public class CreateSessionClusterRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
private SessionCluster body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateSessionClusterRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateSessionClusterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public SessionCluster getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateSessionClusterRequest, Builder> {
private String namespace;
private SessionCluster body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateSessionClusterRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* body.
*/
public Builder body(SessionCluster body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateSessionClusterRequest build() {
return new CreateSessionClusterRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateSessionClusterResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateSessionClusterResponse} extends {@link TeaModel}
*
* <p>CreateSessionClusterResponse</p>
*/
public class CreateSessionClusterResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateSessionClusterResponseBody body;
private CreateSessionClusterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateSessionClusterResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateSessionClusterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateSessionClusterResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateSessionClusterResponseBody body);
@Override
CreateSessionClusterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateSessionClusterResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateSessionClusterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateSessionClusterResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateSessionClusterResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateSessionClusterResponse build() {
return new CreateSessionClusterResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateSessionClusterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateSessionClusterResponseBody} extends {@link TeaModel}
*
* <p>CreateSessionClusterResponseBody</p>
*/
public class CreateSessionClusterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private SessionCluster 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 CreateSessionClusterResponseBody(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 CreateSessionClusterResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public SessionCluster 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 SessionCluster data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(SessionCluster data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 CreateSessionClusterResponseBody build() {
return new CreateSessionClusterResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateUdfArtifactRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateUdfArtifactRequest} extends {@link RequestModel}
*
* <p>CreateUdfArtifactRequest</p>
*/
public class CreateUdfArtifactRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
@com.aliyun.core.annotation.Validation(required = true)
private UdfArtifact body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateUdfArtifactRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateUdfArtifactRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public UdfArtifact getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateUdfArtifactRequest, Builder> {
private String namespace;
private UdfArtifact body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateUdfArtifactRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>u-gs3rgla9-default</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The resource file of the UDF.</p>
* <p>This parameter is required.</p>
*/
public Builder body(UdfArtifact body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateUdfArtifactRequest build() {
return new CreateUdfArtifactRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateUdfArtifactResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateUdfArtifactResponse} extends {@link TeaModel}
*
* <p>CreateUdfArtifactResponse</p>
*/
public class CreateUdfArtifactResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateUdfArtifactResponseBody body;
private CreateUdfArtifactResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateUdfArtifactResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateUdfArtifactResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateUdfArtifactResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateUdfArtifactResponseBody body);
@Override
CreateUdfArtifactResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateUdfArtifactResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateUdfArtifactResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateUdfArtifactResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateUdfArtifactResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateUdfArtifactResponse build() {
return new CreateUdfArtifactResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateUdfArtifactResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateUdfArtifactResponseBody} extends {@link TeaModel}
*
* <p>CreateUdfArtifactResponseBody</p>
*/
public class CreateUdfArtifactResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private CreateUdfArtifactResult 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 CreateUdfArtifactResponseBody(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 CreateUdfArtifactResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public CreateUdfArtifactResult 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 CreateUdfArtifactResult data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <p>The result of creating an artifact configuration for the UDF.</p>
*/
public Builder data(CreateUdfArtifactResult data) {
this.data = data;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The status code returned. The value was fixed to 200. The status code 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>True</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateUdfArtifactResponseBody build() {
return new CreateUdfArtifactResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateUdfArtifactResult.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateUdfArtifactResult} extends {@link TeaModel}
*
* <p>CreateUdfArtifactResult</p>
*/
public class CreateUdfArtifactResult extends TeaModel {
@com.aliyun.core.annotation.NameInMap("collidingClasses")
private java.util.List<UdfClass> collidingClasses;
@com.aliyun.core.annotation.NameInMap("createSuccess")
private Boolean createSuccess;
@com.aliyun.core.annotation.NameInMap("message")
private String message;
@com.aliyun.core.annotation.NameInMap("udfArtifact")
private UdfArtifact udfArtifact;
private CreateUdfArtifactResult(Builder builder) {
this.collidingClasses = builder.collidingClasses;
this.createSuccess = builder.createSuccess;
this.message = builder.message;
this.udfArtifact = builder.udfArtifact;
}
public static Builder builder() {
return new Builder();
}
public static CreateUdfArtifactResult create() {
return builder().build();
}
/**
* @return collidingClasses
*/
public java.util.List<UdfClass> getCollidingClasses() {
return this.collidingClasses;
}
/**
* @return createSuccess
*/
public Boolean getCreateSuccess() {
return this.createSuccess;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return udfArtifact
*/
public UdfArtifact getUdfArtifact() {
return this.udfArtifact;
}
public static final class Builder {
private java.util.List<UdfClass> collidingClasses;
private Boolean createSuccess;
private String message;
private UdfArtifact udfArtifact;
/**
* collidingClasses.
*/
public Builder collidingClasses(java.util.List<UdfClass> collidingClasses) {
this.collidingClasses = collidingClasses;
return this;
}
/**
* createSuccess.
*/
public Builder createSuccess(Boolean createSuccess) {
this.createSuccess = createSuccess;
return this;
}
/**
* message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* udfArtifact.
*/
public Builder udfArtifact(UdfArtifact udfArtifact) {
this.udfArtifact = udfArtifact;
return this;
}
public CreateUdfArtifactResult build() {
return new CreateUdfArtifactResult(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateVariableRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateVariableRequest} extends {@link RequestModel}
*
* <p>CreateVariableRequest</p>
*/
public class CreateVariableRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
@com.aliyun.core.annotation.Validation(required = true)
private Variable body;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private CreateVariableRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.body = builder.body;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static CreateVariableRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return body
*/
public Variable getBody() {
return this.body;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<CreateVariableRequest, Builder> {
private String namespace;
private Variable body;
private String workspace;
private Builder() {
super();
}
private Builder(CreateVariableRequest request) {
super(request);
this.namespace = request.namespace;
this.body = request.body;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The parameter that is used to create the variable.</p>
* <p>This parameter is required.</p>
*/
public Builder body(Variable body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bda1c4a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public CreateVariableRequest build() {
return new CreateVariableRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateVariableResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateVariableResponse} extends {@link TeaModel}
*
* <p>CreateVariableResponse</p>
*/
public class CreateVariableResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateVariableResponseBody body;
private CreateVariableResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateVariableResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateVariableResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateVariableResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateVariableResponseBody body);
@Override
CreateVariableResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateVariableResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateVariableResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateVariableResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateVariableResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateVariableResponse build() {
return new CreateVariableResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/CreateVariableResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 CreateVariableResponseBody} extends {@link TeaModel}
*
* <p>CreateVariableResponseBody</p>
*/
public class CreateVariableResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private Variable 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 CreateVariableResponseBody(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 CreateVariableResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public Variable 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 Variable data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <ul>
* <li>If the value of success was true, the variable that you created was returned.</li>
* <li>If the value of success was false, a null value was returned.</li>
* </ul>
*/
public Builder data(Variable data) {
this.data = data;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The value was fixed to 200.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-ABCD-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateVariableResponseBody build() {
return new CreateVariableResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/Database.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 Database} extends {@link TeaModel}
*
* <p>Database</p>
*/
public class Database extends TeaModel {
@com.aliyun.core.annotation.NameInMap("comment")
private String comment;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("properties")
private java.util.Map<String, ?> properties;
private Database(Builder builder) {
this.comment = builder.comment;
this.name = builder.name;
this.properties = builder.properties;
}
public static Builder builder() {
return new Builder();
}
public static Database create() {
return builder().build();
}
/**
* @return comment
*/
public String getComment() {
return this.comment;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return properties
*/
public java.util.Map<String, ?> getProperties() {
return this.properties;
}
public static final class Builder {
private String comment;
private String name;
private java.util.Map<String, ?> properties;
/**
* comment.
*/
public Builder comment(String comment) {
this.comment = comment;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* properties.
*/
public Builder properties(java.util.Map<String, ?> properties) {
this.properties = properties;
return this;
}
public Database build() {
return new Database(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteCustomConnectorRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteCustomConnectorRequest} extends {@link RequestModel}
*
* <p>DeleteCustomConnectorRequest</p>
*/
public class DeleteCustomConnectorRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("connectorName")
@com.aliyun.core.annotation.Validation(required = true)
private String connectorName;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteCustomConnectorRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.connectorName = builder.connectorName;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCustomConnectorRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return connectorName
*/
public String getConnectorName() {
return this.connectorName;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteCustomConnectorRequest, Builder> {
private String namespace;
private String connectorName;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteCustomConnectorRequest request) {
super(request);
this.namespace = request.namespace;
this.connectorName = request.connectorName;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-flink-bigdata-default</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The name of the custom connector.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>mysql-test</p>
*/
public Builder connectorName(String connectorName) {
this.putPathParameter("connectorName", connectorName);
this.connectorName = connectorName;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteCustomConnectorRequest build() {
return new DeleteCustomConnectorRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteCustomConnectorResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteCustomConnectorResponse} extends {@link TeaModel}
*
* <p>DeleteCustomConnectorResponse</p>
*/
public class DeleteCustomConnectorResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteCustomConnectorResponseBody body;
private DeleteCustomConnectorResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteCustomConnectorResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteCustomConnectorResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteCustomConnectorResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteCustomConnectorResponseBody body);
@Override
DeleteCustomConnectorResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteCustomConnectorResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteCustomConnectorResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteCustomConnectorResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteCustomConnectorResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteCustomConnectorResponse build() {
return new DeleteCustomConnectorResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteCustomConnectorResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteCustomConnectorResponseBody} extends {@link TeaModel}
*
* <p>DeleteCustomConnectorResponseBody</p>
*/
public class DeleteCustomConnectorResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private java.util.List<TableMeta> 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 DeleteCustomConnectorResponseBody(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 DeleteCustomConnectorResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List<TableMeta> 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 java.util.List<TableMeta> data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <p>If the value of success was true, a list of deployments in which custom connectors were deleted was returned. If the value of success was false, a null value was returned.</p>
*/
public Builder data(java.util.List<TableMeta> data) {
this.data = data;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The status code returned. The value was fixed to 200. The status code 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteCustomConnectorResponseBody build() {
return new DeleteCustomConnectorResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentDraftRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentDraftRequest} extends {@link RequestModel}
*
* <p>DeleteDeploymentDraftRequest</p>
*/
public class DeleteDeploymentDraftRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("deploymentDraftId")
@com.aliyun.core.annotation.Validation(required = true)
private String deploymentDraftId;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteDeploymentDraftRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.deploymentDraftId = builder.deploymentDraftId;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDeploymentDraftRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return deploymentDraftId
*/
public String getDeploymentDraftId() {
return this.deploymentDraftId;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteDeploymentDraftRequest, Builder> {
private String namespace;
private String deploymentDraftId;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteDeploymentDraftRequest request) {
super(request);
this.namespace = request.namespace;
this.deploymentDraftId = request.deploymentDraftId;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>c84d73be-40ad-4627-8bdd-fa1eba51b234</p>
*/
public Builder deploymentDraftId(String deploymentDraftId) {
this.putPathParameter("deploymentDraftId", deploymentDraftId);
this.deploymentDraftId = deploymentDraftId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteDeploymentDraftRequest build() {
return new DeleteDeploymentDraftRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentDraftResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentDraftResponse} extends {@link TeaModel}
*
* <p>DeleteDeploymentDraftResponse</p>
*/
public class DeleteDeploymentDraftResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteDeploymentDraftResponseBody body;
private DeleteDeploymentDraftResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteDeploymentDraftResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteDeploymentDraftResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteDeploymentDraftResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteDeploymentDraftResponseBody body);
@Override
DeleteDeploymentDraftResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDeploymentDraftResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteDeploymentDraftResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDeploymentDraftResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteDeploymentDraftResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteDeploymentDraftResponse build() {
return new DeleteDeploymentDraftResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentDraftResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentDraftResponseBody} extends {@link TeaModel}
*
* <p>DeleteDeploymentDraftResponseBody</p>
*/
public class DeleteDeploymentDraftResponseBody extends TeaModel {
@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 DeleteDeploymentDraftResponseBody(Builder builder) {
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 DeleteDeploymentDraftResponseBody create() {
return builder().build();
}
/**
* @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 String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 DeleteDeploymentDraftResponseBody build() {
return new DeleteDeploymentDraftResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentRequest} extends {@link RequestModel}
*
* <p>DeleteDeploymentRequest</p>
*/
public class DeleteDeploymentRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("deploymentId")
@com.aliyun.core.annotation.Validation(required = true)
private String deploymentId;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteDeploymentRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.deploymentId = builder.deploymentId;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDeploymentRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return deploymentId
*/
public String getDeploymentId() {
return this.deploymentId;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteDeploymentRequest, Builder> {
private String namespace;
private String deploymentId;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteDeploymentRequest request) {
super(request);
this.namespace = request.namespace;
this.deploymentId = request.deploymentId;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The deployment ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>5737ef81-d2f1-49cf-8752-30910809****</p>
*/
public Builder deploymentId(String deploymentId) {
this.putPathParameter("deploymentId", deploymentId);
this.deploymentId = deploymentId;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteDeploymentRequest build() {
return new DeleteDeploymentRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentResponse} extends {@link TeaModel}
*
* <p>DeleteDeploymentResponse</p>
*/
public class DeleteDeploymentResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteDeploymentResponseBody body;
private DeleteDeploymentResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteDeploymentResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteDeploymentResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteDeploymentResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteDeploymentResponseBody body);
@Override
DeleteDeploymentResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDeploymentResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteDeploymentResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDeploymentResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteDeploymentResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteDeploymentResponse build() {
return new DeleteDeploymentResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentResponseBody} extends {@link TeaModel}
*
* <p>DeleteDeploymentResponseBody</p>
*/
public class DeleteDeploymentResponseBody extends TeaModel {
@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 DeleteDeploymentResponseBody(Builder builder) {
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 DeleteDeploymentResponseBody create() {
return builder().build();
}
/**
* @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 String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The value was fixed to 200.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteDeploymentResponseBody build() {
return new DeleteDeploymentResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentTargetRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentTargetRequest} extends {@link RequestModel}
*
* <p>DeleteDeploymentTargetRequest</p>
*/
public class DeleteDeploymentTargetRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("deploymentTargetName")
@com.aliyun.core.annotation.Validation(required = true)
private String deploymentTargetName;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteDeploymentTargetRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.deploymentTargetName = builder.deploymentTargetName;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDeploymentTargetRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return deploymentTargetName
*/
public String getDeploymentTargetName() {
return this.deploymentTargetName;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteDeploymentTargetRequest, Builder> {
private String namespace;
private String deploymentTargetName;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteDeploymentTargetRequest request) {
super(request);
this.namespace = request.namespace;
this.deploymentTargetName = request.deploymentTargetName;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-dt</p>
*/
public Builder deploymentTargetName(String deploymentTargetName) {
this.putPathParameter("deploymentTargetName", deploymentTargetName);
this.deploymentTargetName = deploymentTargetName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteDeploymentTargetRequest build() {
return new DeleteDeploymentTargetRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentTargetResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentTargetResponse} extends {@link TeaModel}
*
* <p>DeleteDeploymentTargetResponse</p>
*/
public class DeleteDeploymentTargetResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteDeploymentTargetResponseBody body;
private DeleteDeploymentTargetResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteDeploymentTargetResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteDeploymentTargetResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteDeploymentTargetResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteDeploymentTargetResponseBody body);
@Override
DeleteDeploymentTargetResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDeploymentTargetResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteDeploymentTargetResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDeploymentTargetResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteDeploymentTargetResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteDeploymentTargetResponse build() {
return new DeleteDeploymentTargetResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteDeploymentTargetResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteDeploymentTargetResponseBody} extends {@link TeaModel}
*
* <p>DeleteDeploymentTargetResponseBody</p>
*/
public class DeleteDeploymentTargetResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private DeploymentTarget 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 DeleteDeploymentTargetResponseBody(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 DeleteDeploymentTargetResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public DeploymentTarget 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 DeploymentTarget data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(DeploymentTarget data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 DeleteDeploymentTargetResponseBody build() {
return new DeleteDeploymentTargetResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteFolderRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteFolderRequest} extends {@link RequestModel}
*
* <p>DeleteFolderRequest</p>
*/
public class DeleteFolderRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("folderId")
@com.aliyun.core.annotation.Validation(required = true)
private String folderId;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteFolderRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.folderId = builder.folderId;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteFolderRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteFolderRequest, Builder> {
private String namespace;
private String folderId;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteFolderRequest request) {
super(request);
this.namespace = request.namespace;
this.folderId = request.folderId;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>13803</p>
*/
public Builder folderId(String folderId) {
this.putPathParameter("folderId", folderId);
this.folderId = folderId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>c96306e2b****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteFolderRequest build() {
return new DeleteFolderRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteFolderResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteFolderResponse} extends {@link TeaModel}
*
* <p>DeleteFolderResponse</p>
*/
public class DeleteFolderResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteFolderResponseBody body;
private DeleteFolderResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteFolderResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteFolderResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteFolderResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteFolderResponseBody body);
@Override
DeleteFolderResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteFolderResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteFolderResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteFolderResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteFolderResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteFolderResponse build() {
return new DeleteFolderResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteFolderResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteFolderResponseBody} extends {@link TeaModel}
*
* <p>DeleteFolderResponseBody</p>
*/
public class DeleteFolderResponseBody extends TeaModel {
@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 DeleteFolderResponseBody(Builder builder) {
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 DeleteFolderResponseBody create() {
return builder().build();
}
/**
* @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 String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 DeleteFolderResponseBody build() {
return new DeleteFolderResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteJobRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteJobRequest} extends {@link RequestModel}
*
* <p>DeleteJobRequest</p>
*/
public class DeleteJobRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("jobId")
@com.aliyun.core.annotation.Validation(required = true)
private String jobId;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteJobRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.jobId = builder.jobId;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteJobRequest, Builder> {
private String namespace;
private String jobId;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteJobRequest request) {
super(request);
this.namespace = request.namespace;
this.jobId = request.jobId;
this.workspace = request.workspace;
}
/**
* <p>The namespace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The job ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>5af678c0-7db0-4650-94c2-d2604f0a****</p>
*/
public Builder jobId(String jobId) {
this.putPathParameter("jobId", jobId);
this.jobId = jobId;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteJobRequest build() {
return new DeleteJobRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteJobResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteJobResponse} extends {@link TeaModel}
*
* <p>DeleteJobResponse</p>
*/
public class DeleteJobResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteJobResponseBody body;
private DeleteJobResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteJobResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteJobResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteJobResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteJobResponseBody body);
@Override
DeleteJobResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteJobResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteJobResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteJobResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteJobResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteJobResponse build() {
return new DeleteJobResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteJobResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteJobResponseBody} extends {@link TeaModel}
*
* <p>DeleteJobResponseBody</p>
*/
public class DeleteJobResponseBody extends TeaModel {
@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 DeleteJobResponseBody(Builder builder) {
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 DeleteJobResponseBody create() {
return builder().build();
}
/**
* @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 String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The value was fixed to 200.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteJobResponseBody build() {
return new DeleteJobResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteMemberRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteMemberRequest} extends {@link RequestModel}
*
* <p>DeleteMemberRequest</p>
*/
public class DeleteMemberRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("member")
@com.aliyun.core.annotation.Validation(required = true)
private String member;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteMemberRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.member = builder.member;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteMemberRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return member
*/
public String getMember() {
return this.member;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteMemberRequest, Builder> {
private String namespace;
private String member;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteMemberRequest request) {
super(request);
this.namespace = request.namespace;
this.member = request.member;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The member ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>user:223769</p>
*/
public Builder member(String member) {
this.putPathParameter("member", member);
this.member = member;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>710d6a64d8c34d</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteMemberRequest build() {
return new DeleteMemberRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteMemberResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteMemberResponse} extends {@link TeaModel}
*
* <p>DeleteMemberResponse</p>
*/
public class DeleteMemberResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteMemberResponseBody body;
private DeleteMemberResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteMemberResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteMemberResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteMemberResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteMemberResponseBody body);
@Override
DeleteMemberResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteMemberResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteMemberResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteMemberResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteMemberResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteMemberResponse build() {
return new DeleteMemberResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteMemberResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteMemberResponseBody} extends {@link TeaModel}
*
* <p>DeleteMemberResponseBody</p>
*/
public class DeleteMemberResponseBody extends TeaModel {
@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 DeleteMemberResponseBody(Builder builder) {
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 DeleteMemberResponseBody create() {
return builder().build();
}
/**
* @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 String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The status code returned. The value was fixed to 200. The status code 200 indicates that the request was successful.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteMemberResponseBody build() {
return new DeleteMemberResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteSavepointRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteSavepointRequest} extends {@link RequestModel}
*
* <p>DeleteSavepointRequest</p>
*/
public class DeleteSavepointRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("savepointId")
@com.aliyun.core.annotation.Validation(required = true)
private String savepointId;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteSavepointRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.savepointId = builder.savepointId;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSavepointRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return savepointId
*/
public String getSavepointId() {
return this.savepointId;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteSavepointRequest, Builder> {
private String namespace;
private String savepointId;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteSavepointRequest request) {
super(request);
this.namespace = request.namespace;
this.savepointId = request.savepointId;
this.workspace = request.workspace;
}
/**
* <p>The name of the namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>The ID of the savepoint that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>907a8f0e-4f6c-412b-8a5e-7d4a065b****</p>
*/
public Builder savepointId(String savepointId) {
this.putPathParameter("savepointId", savepointId);
this.savepointId = savepointId;
return this;
}
/**
* <p>The workspace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteSavepointRequest build() {
return new DeleteSavepointRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteSavepointResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteSavepointResponse} extends {@link TeaModel}
*
* <p>DeleteSavepointResponse</p>
*/
public class DeleteSavepointResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteSavepointResponseBody body;
private DeleteSavepointResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteSavepointResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteSavepointResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteSavepointResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteSavepointResponseBody body);
@Override
DeleteSavepointResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteSavepointResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteSavepointResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteSavepointResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteSavepointResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteSavepointResponse build() {
return new DeleteSavepointResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteSavepointResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteSavepointResponseBody} extends {@link TeaModel}
*
* <p>DeleteSavepointResponseBody</p>
*/
public class DeleteSavepointResponseBody extends TeaModel {
@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 DeleteSavepointResponseBody(Builder builder) {
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 DeleteSavepointResponseBody create() {
return builder().build();
}
/**
* @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 String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* <ul>
* <li>If the value of success was false, an error code was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <ul>
* <li>If the value of success was false, an error message was returned.</li>
* <li>If the value of success was true, a null value was returned.</li>
* </ul>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* <p>The value was fixed to 200.</p>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CBC799F0-AS7S-1D30-8A4F-882ED4DD****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the request was successful.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteSavepointResponseBody build() {
return new DeleteSavepointResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteScheduledPlanRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteScheduledPlanRequest} extends {@link RequestModel}
*
* <p>DeleteScheduledPlanRequest</p>
*/
public class DeleteScheduledPlanRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("scheduledPlanId")
@com.aliyun.core.annotation.Validation(required = true)
private String scheduledPlanId;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteScheduledPlanRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.scheduledPlanId = builder.scheduledPlanId;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteScheduledPlanRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return scheduledPlanId
*/
public String getScheduledPlanId() {
return this.scheduledPlanId;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteScheduledPlanRequest, Builder> {
private String namespace;
private String scheduledPlanId;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteScheduledPlanRequest request) {
super(request);
this.namespace = request.namespace;
this.scheduledPlanId = request.scheduledPlanId;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>f420c2e7-6d3f-4683-81d0-3ea8585*****</p>
*/
public Builder scheduledPlanId(String scheduledPlanId) {
this.putPathParameter("scheduledPlanId", scheduledPlanId);
this.scheduledPlanId = scheduledPlanId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteScheduledPlanRequest build() {
return new DeleteScheduledPlanRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteScheduledPlanResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteScheduledPlanResponse} extends {@link TeaModel}
*
* <p>DeleteScheduledPlanResponse</p>
*/
public class DeleteScheduledPlanResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteScheduledPlanResponseBody body;
private DeleteScheduledPlanResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteScheduledPlanResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteScheduledPlanResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteScheduledPlanResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteScheduledPlanResponseBody body);
@Override
DeleteScheduledPlanResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteScheduledPlanResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteScheduledPlanResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteScheduledPlanResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteScheduledPlanResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteScheduledPlanResponse build() {
return new DeleteScheduledPlanResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteScheduledPlanResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteScheduledPlanResponseBody} extends {@link TeaModel}
*
* <p>DeleteScheduledPlanResponseBody</p>
*/
public class DeleteScheduledPlanResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private ScheduledPlan 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 DeleteScheduledPlanResponseBody(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 DeleteScheduledPlanResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public ScheduledPlan 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 ScheduledPlan data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(ScheduledPlan data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 DeleteScheduledPlanResponseBody build() {
return new DeleteScheduledPlanResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteSessionClusterRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteSessionClusterRequest} extends {@link RequestModel}
*
* <p>DeleteSessionClusterRequest</p>
*/
public class DeleteSessionClusterRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("sessionClusterName")
@com.aliyun.core.annotation.Validation(required = true)
private String sessionClusterName;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteSessionClusterRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.sessionClusterName = builder.sessionClusterName;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSessionClusterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return sessionClusterName
*/
public String getSessionClusterName() {
return this.sessionClusterName;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteSessionClusterRequest, Builder> {
private String namespace;
private String sessionClusterName;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteSessionClusterRequest request) {
super(request);
this.namespace = request.namespace;
this.sessionClusterName = request.sessionClusterName;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-session</p>
*/
public Builder sessionClusterName(String sessionClusterName) {
this.putPathParameter("sessionClusterName", sessionClusterName);
this.sessionClusterName = sessionClusterName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteSessionClusterRequest build() {
return new DeleteSessionClusterRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteSessionClusterResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteSessionClusterResponse} extends {@link TeaModel}
*
* <p>DeleteSessionClusterResponse</p>
*/
public class DeleteSessionClusterResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteSessionClusterResponseBody body;
private DeleteSessionClusterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteSessionClusterResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteSessionClusterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteSessionClusterResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteSessionClusterResponseBody body);
@Override
DeleteSessionClusterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteSessionClusterResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteSessionClusterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteSessionClusterResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteSessionClusterResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteSessionClusterResponse build() {
return new DeleteSessionClusterResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteSessionClusterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteSessionClusterResponseBody} extends {@link TeaModel}
*
* <p>DeleteSessionClusterResponseBody</p>
*/
public class DeleteSessionClusterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private SessionCluster 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 DeleteSessionClusterResponseBody(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 DeleteSessionClusterResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public SessionCluster 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 SessionCluster data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(SessionCluster data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 DeleteSessionClusterResponseBody build() {
return new DeleteSessionClusterResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteUdfArtifactRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteUdfArtifactRequest} extends {@link RequestModel}
*
* <p>DeleteUdfArtifactRequest</p>
*/
public class DeleteUdfArtifactRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("namespace")
@com.aliyun.core.annotation.Validation(required = true)
private String namespace;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("udfArtifactName")
@com.aliyun.core.annotation.Validation(required = true)
private String udfArtifactName;
@com.aliyun.core.annotation.Header
@com.aliyun.core.annotation.NameInMap("workspace")
@com.aliyun.core.annotation.Validation(required = true)
private String workspace;
private DeleteUdfArtifactRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.udfArtifactName = builder.udfArtifactName;
this.workspace = builder.workspace;
}
public static Builder builder() {
return new Builder();
}
public static DeleteUdfArtifactRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return udfArtifactName
*/
public String getUdfArtifactName() {
return this.udfArtifactName;
}
/**
* @return workspace
*/
public String getWorkspace() {
return this.workspace;
}
public static final class Builder extends Request.Builder<DeleteUdfArtifactRequest, Builder> {
private String namespace;
private String udfArtifactName;
private String workspace;
private Builder() {
super();
}
private Builder(DeleteUdfArtifactRequest request) {
super(request);
this.namespace = request.namespace;
this.udfArtifactName = request.udfArtifactName;
this.workspace = request.workspace;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>default-namespace</p>
*/
public Builder namespace(String namespace) {
this.putPathParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>check</p>
*/
public Builder udfArtifactName(String udfArtifactName) {
this.putPathParameter("udfArtifactName", udfArtifactName);
this.udfArtifactName = udfArtifactName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>a14bd5d90a****</p>
*/
public Builder workspace(String workspace) {
this.putHeaderParameter("workspace", workspace);
this.workspace = workspace;
return this;
}
@Override
public DeleteUdfArtifactRequest build() {
return new DeleteUdfArtifactRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteUdfArtifactResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteUdfArtifactResponse} extends {@link TeaModel}
*
* <p>DeleteUdfArtifactResponse</p>
*/
public class DeleteUdfArtifactResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteUdfArtifactResponseBody body;
private DeleteUdfArtifactResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteUdfArtifactResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteUdfArtifactResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteUdfArtifactResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteUdfArtifactResponseBody body);
@Override
DeleteUdfArtifactResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteUdfArtifactResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteUdfArtifactResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteUdfArtifactResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteUdfArtifactResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteUdfArtifactResponse build() {
return new DeleteUdfArtifactResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718 | java-sources/com/aliyun/alibabacloud-ververica20220718/1.0.11/com/aliyun/sdk/service/ververica20220718/models/DeleteUdfArtifactResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ververica20220718.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 DeleteUdfArtifactResponseBody} extends {@link TeaModel}
*
* <p>DeleteUdfArtifactResponseBody</p>
*/
public class DeleteUdfArtifactResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("data")
private DeleteUdfArtifactResult 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 DeleteUdfArtifactResponseBody(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 DeleteUdfArtifactResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public DeleteUdfArtifactResult 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 DeleteUdfArtifactResult data;
private String errorCode;
private String errorMessage;
private Integer httpCode;
private String requestId;
private Boolean success;
/**
* data.
*/
public Builder data(DeleteUdfArtifactResult data) {
this.data = data;
return this;
}
/**
* errorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* errorMessage.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* httpCode.
*/
public Builder httpCode(Integer httpCode) {
this.httpCode = httpCode;
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 DeleteUdfArtifactResponseBody build() {
return new DeleteUdfArtifactResponseBody(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.