Skip to content

Commit 6440f8c

Browse files
committed
Generated java-async 2024-05-18 for dataworks-public.
1 parent 48c0766 commit 6440f8c

24 files changed

Lines changed: 5433 additions & 1 deletion

dataworks-public-20240518/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2026-04-24 Version: 8.0.9
2+
- Generated java-async 2024-05-18 for dataworks-public.
3+
14
2026-04-22 Version: 8.0.8
25
- Generated java-async 2024-05-18 for dataworks-public.
36

dataworks-public-20240518/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-dataworks_public20240518</artifactId>
6-
<version>8.0.8</version>
6+
<version>8.0.9</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-dataworks_public20240518</name>
99
<description>Alibaba Cloud dataworks-public (20240518) Async SDK for Java

dataworks-public-20240518/src/main/java/com/aliyun/sdk/service/dataworks_public20240518/AsyncClient.java

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ static AsyncClient create() {
3636
*/
3737
CompletableFuture<AddEntityIntoMetaCollectionResponse> addEntityIntoMetaCollection(AddEntityIntoMetaCollectionRequest request);
3838

39+
/**
40+
* @param request the request parameters of AssociateProjectToImage AssociateProjectToImageRequest
41+
* @return AssociateProjectToImageResponse
42+
*/
43+
CompletableFuture<AssociateProjectToImageResponse> associateProjectToImage(AssociateProjectToImageRequest request);
44+
3945
/**
4046
* <b>description</b> :
4147
* <ol>
@@ -715,6 +721,12 @@ static AsyncClient create() {
715721
@Deprecated
716722
CompletableFuture<DetachDataQualityRulesFromEvaluationTaskResponse> detachDataQualityRulesFromEvaluationTask(DetachDataQualityRulesFromEvaluationTaskRequest request);
717723

724+
/**
725+
* @param request the request parameters of DissociateProjectFromImage DissociateProjectFromImageRequest
726+
* @return DissociateProjectFromImageResponse
727+
*/
728+
CompletableFuture<DissociateProjectFromImageResponse> dissociateProjectFromImage(DissociateProjectFromImageRequest request);
729+
718730
/**
719731
* <b>description</b> :
720732
* <ol>
@@ -995,6 +1007,12 @@ static AsyncClient create() {
9951007
*/
9961008
CompletableFuture<GetIDEEventDetailResponse> getIDEEventDetail(GetIDEEventDetailRequest request);
9971009

1010+
/**
1011+
* @param request the request parameters of GetImage GetImageRequest
1012+
* @return GetImageResponse
1013+
*/
1014+
CompletableFuture<GetImageResponse> getImage(GetImageRequest request);
1015+
9981016
/**
9991017
* @param request the request parameters of GetJobStatus GetJobStatusRequest
10001018
* @return GetJobStatusResponse
@@ -1517,6 +1535,24 @@ static AsyncClient create() {
15171535
*/
15181536
CompletableFuture<ListFunctionsResponse> listFunctions(ListFunctionsRequest request);
15191537

1538+
/**
1539+
* @param request the request parameters of ListImageAssociatedProjects ListImageAssociatedProjectsRequest
1540+
* @return ListImageAssociatedProjectsResponse
1541+
*/
1542+
CompletableFuture<ListImageAssociatedProjectsResponse> listImageAssociatedProjects(ListImageAssociatedProjectsRequest request);
1543+
1544+
/**
1545+
* @param request the request parameters of ListImageVersions ListImageVersionsRequest
1546+
* @return ListImageVersionsResponse
1547+
*/
1548+
CompletableFuture<ListImageVersionsResponse> listImageVersions(ListImageVersionsRequest request);
1549+
1550+
/**
1551+
* @param request the request parameters of ListImages ListImagesRequest
1552+
* @return ListImagesResponse
1553+
*/
1554+
CompletableFuture<ListImagesResponse> listImages(ListImagesRequest request);
1555+
15201556
/**
15211557
* @param request the request parameters of ListLineageRelationships ListLineageRelationshipsRequest
15221558
* @return ListLineageRelationshipsResponse

dataworks-public-20240518/src/main/java/com/aliyun/sdk/service/dataworks_public20240518/DefaultAsyncClient.java

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,24 @@ public CompletableFuture<AddEntityIntoMetaCollectionResponse> addEntityIntoMetaC
139139
}
140140
}
141141

142+
/**
143+
* @param request the request parameters of AssociateProjectToImage AssociateProjectToImageRequest
144+
* @return AssociateProjectToImageResponse
145+
*/
146+
@Override
147+
public CompletableFuture<AssociateProjectToImageResponse> associateProjectToImage(AssociateProjectToImageRequest request) {
148+
try {
149+
this.handler.validateRequestModel(request);
150+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AssociateProjectToImage").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
151+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AssociateProjectToImageResponse.create());
152+
return this.handler.execute(params);
153+
} catch (Exception e) {
154+
CompletableFuture<AssociateProjectToImageResponse> future = new CompletableFuture<>();
155+
future.completeExceptionally(e);
156+
return future;
157+
}
158+
}
159+
142160
/**
143161
* <b>description</b> :
144162
* <ol>
@@ -1754,6 +1772,24 @@ public CompletableFuture<DetachDataQualityRulesFromEvaluationTaskResponse> detac
17541772
}
17551773
}
17561774

1775+
/**
1776+
* @param request the request parameters of DissociateProjectFromImage DissociateProjectFromImageRequest
1777+
* @return DissociateProjectFromImageResponse
1778+
*/
1779+
@Override
1780+
public CompletableFuture<DissociateProjectFromImageResponse> dissociateProjectFromImage(DissociateProjectFromImageRequest request) {
1781+
try {
1782+
this.handler.validateRequestModel(request);
1783+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DissociateProjectFromImage").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
1784+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DissociateProjectFromImageResponse.create());
1785+
return this.handler.execute(params);
1786+
} catch (Exception e) {
1787+
CompletableFuture<DissociateProjectFromImageResponse> future = new CompletableFuture<>();
1788+
future.completeExceptionally(e);
1789+
return future;
1790+
}
1791+
}
1792+
17571793
/**
17581794
* <b>description</b> :
17591795
* <ol>
@@ -2454,6 +2490,24 @@ public CompletableFuture<GetIDEEventDetailResponse> getIDEEventDetail(GetIDEEven
24542490
}
24552491
}
24562492

2493+
/**
2494+
* @param request the request parameters of GetImage GetImageRequest
2495+
* @return GetImageResponse
2496+
*/
2497+
@Override
2498+
public CompletableFuture<GetImageResponse> getImage(GetImageRequest request) {
2499+
try {
2500+
this.handler.validateRequestModel(request);
2501+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetImage").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
2502+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetImageResponse.create());
2503+
return this.handler.execute(params);
2504+
} catch (Exception e) {
2505+
CompletableFuture<GetImageResponse> future = new CompletableFuture<>();
2506+
future.completeExceptionally(e);
2507+
return future;
2508+
}
2509+
}
2510+
24572511
/**
24582512
* @param request the request parameters of GetJobStatus GetJobStatusRequest
24592513
* @return GetJobStatusResponse
@@ -3768,6 +3822,60 @@ public CompletableFuture<ListFunctionsResponse> listFunctions(ListFunctionsReque
37683822
}
37693823
}
37703824

3825+
/**
3826+
* @param request the request parameters of ListImageAssociatedProjects ListImageAssociatedProjectsRequest
3827+
* @return ListImageAssociatedProjectsResponse
3828+
*/
3829+
@Override
3830+
public CompletableFuture<ListImageAssociatedProjectsResponse> listImageAssociatedProjects(ListImageAssociatedProjectsRequest request) {
3831+
try {
3832+
this.handler.validateRequestModel(request);
3833+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListImageAssociatedProjects").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
3834+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListImageAssociatedProjectsResponse.create());
3835+
return this.handler.execute(params);
3836+
} catch (Exception e) {
3837+
CompletableFuture<ListImageAssociatedProjectsResponse> future = new CompletableFuture<>();
3838+
future.completeExceptionally(e);
3839+
return future;
3840+
}
3841+
}
3842+
3843+
/**
3844+
* @param request the request parameters of ListImageVersions ListImageVersionsRequest
3845+
* @return ListImageVersionsResponse
3846+
*/
3847+
@Override
3848+
public CompletableFuture<ListImageVersionsResponse> listImageVersions(ListImageVersionsRequest request) {
3849+
try {
3850+
this.handler.validateRequestModel(request);
3851+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListImageVersions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
3852+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListImageVersionsResponse.create());
3853+
return this.handler.execute(params);
3854+
} catch (Exception e) {
3855+
CompletableFuture<ListImageVersionsResponse> future = new CompletableFuture<>();
3856+
future.completeExceptionally(e);
3857+
return future;
3858+
}
3859+
}
3860+
3861+
/**
3862+
* @param request the request parameters of ListImages ListImagesRequest
3863+
* @return ListImagesResponse
3864+
*/
3865+
@Override
3866+
public CompletableFuture<ListImagesResponse> listImages(ListImagesRequest request) {
3867+
try {
3868+
this.handler.validateRequestModel(request);
3869+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListImages").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
3870+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListImagesResponse.create());
3871+
return this.handler.execute(params);
3872+
} catch (Exception e) {
3873+
CompletableFuture<ListImagesResponse> future = new CompletableFuture<>();
3874+
future.completeExceptionally(e);
3875+
return future;
3876+
}
3877+
}
3878+
37713879
/**
37723880
* @param request the request parameters of ListLineageRelationships ListLineageRelationshipsRequest
37733881
* @return ListLineageRelationshipsResponse
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.dataworks_public20240518.models;
3+
4+
import com.aliyun.sdk.gateway.pop.*;
5+
import darabonba.core.*;
6+
import darabonba.core.async.*;
7+
import darabonba.core.sync.*;
8+
import darabonba.core.client.*;
9+
import darabonba.core.RequestModel;
10+
import darabonba.core.TeaModel;
11+
import com.aliyun.sdk.gateway.pop.models.*;
12+
13+
/**
14+
*
15+
* {@link AssociateProjectToImageRequest} extends {@link RequestModel}
16+
*
17+
* <p>AssociateProjectToImageRequest</p>
18+
*/
19+
public class AssociateProjectToImageRequest extends Request {
20+
@com.aliyun.core.annotation.Host
21+
@com.aliyun.core.annotation.NameInMap("RegionId")
22+
private String regionId;
23+
24+
@com.aliyun.core.annotation.Body
25+
@com.aliyun.core.annotation.NameInMap("Id")
26+
@com.aliyun.core.annotation.Validation(required = true)
27+
private String id;
28+
29+
@com.aliyun.core.annotation.Body
30+
@com.aliyun.core.annotation.NameInMap("ProjectId")
31+
@com.aliyun.core.annotation.Validation(required = true)
32+
private Long projectId;
33+
34+
private AssociateProjectToImageRequest(Builder builder) {
35+
super(builder);
36+
this.regionId = builder.regionId;
37+
this.id = builder.id;
38+
this.projectId = builder.projectId;
39+
}
40+
41+
public static Builder builder() {
42+
return new Builder();
43+
}
44+
45+
public static AssociateProjectToImageRequest create() {
46+
return builder().build();
47+
}
48+
49+
@Override
50+
public Builder toBuilder() {
51+
return new Builder(this);
52+
}
53+
54+
/**
55+
* @return regionId
56+
*/
57+
public String getRegionId() {
58+
return this.regionId;
59+
}
60+
61+
/**
62+
* @return id
63+
*/
64+
public String getId() {
65+
return this.id;
66+
}
67+
68+
/**
69+
* @return projectId
70+
*/
71+
public Long getProjectId() {
72+
return this.projectId;
73+
}
74+
75+
public static final class Builder extends Request.Builder<AssociateProjectToImageRequest, Builder> {
76+
private String regionId;
77+
private String id;
78+
private Long projectId;
79+
80+
private Builder() {
81+
super();
82+
}
83+
84+
private Builder(AssociateProjectToImageRequest request) {
85+
super(request);
86+
this.regionId = request.regionId;
87+
this.id = request.id;
88+
this.projectId = request.projectId;
89+
}
90+
91+
/**
92+
* <p>This parameter is required.</p>
93+
*/
94+
public Builder regionId(String regionId) {
95+
this.putHostParameter("RegionId", regionId);
96+
this.regionId = regionId;
97+
return this;
98+
}
99+
100+
/**
101+
* <p>This parameter is required.</p>
102+
*
103+
* <strong>example:</strong>
104+
* <p>Custom_image_xxxx_xxxx</p>
105+
*/
106+
public Builder id(String id) {
107+
this.putBodyParameter("Id", id);
108+
this.id = id;
109+
return this;
110+
}
111+
112+
/**
113+
* <p>This parameter is required.</p>
114+
*
115+
* <strong>example:</strong>
116+
* <p>100000001</p>
117+
*/
118+
public Builder projectId(Long projectId) {
119+
this.putBodyParameter("ProjectId", projectId);
120+
this.projectId = projectId;
121+
return this;
122+
}
123+
124+
@Override
125+
public AssociateProjectToImageRequest build() {
126+
return new AssociateProjectToImageRequest(this);
127+
}
128+
129+
}
130+
131+
}

0 commit comments

Comments
 (0)